~pac72/ubuntu/lucid/ddd/devel

« back to all changes in this revision

Viewing changes to ddd/isid.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2004-07-22 03:49:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040722034937-cysl08t1jvba4jrx
Tags: 1:3.3.9-3
USERINFO has been renamed to USERINFO.txt; adjust debian/rules code
to match, to get correct information on the About DDD dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: isid.h,v 1.4 1999/08/19 11:28:40 andreas Exp $ -*- C++ -*-
 
1
// $Id$ -*- C++ -*-
2
2
// isid() character tester
3
3
 
4
4
// Copyright (C) 1998 Technische Universitaet Braunschweig, Germany.
29
29
#ifndef _DDD_isid_h
30
30
#define _DDD_isid_h
31
31
 
32
 
#ifdef __GNUG__
33
 
#pragma interface
34
 
#endif
35
 
 
36
32
#include "bool.h"
37
33
#include <ctype.h>
38
34
 
48
44
    return c == '@' || c == '%' || c == '$';
49
45
}
50
46
 
 
47
// True if C is a Perl prefix character
 
48
inline bool is_bash_prefix(char c)
 
49
{
 
50
    return c == '$';
 
51
}
 
52
 
51
53
#endif // _DDD_isid_h
52
54
// DON'T ADD ANYTHING BEHIND THIS #endif