~ubuntu-branches/ubuntu/raring/geany/raring-proposed

« back to all changes in this revision

Viewing changes to tagmanager/get.h

  • Committer: Bazaar Package Importer
  • Author(s): Damián Viano
  • Date: 2008-05-02 11:37:45 UTC
  • mfrom: (1.2.1 upstream) (9 hardy)
  • mto: (3.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20080502113745-xzp4g6dmovrpoj17
Tags: 0.14-1
New upstream release (Closes: #478126)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
 
2
*   $Id: get.h 1653 2007-06-29 15:42:37Z eht16 $
2
3
*
3
 
*   Copyright (c) 1998-2001, Darren Hiebert
 
4
*   Copyright (c) 1998-2002, Darren Hiebert
4
5
*
5
6
*   This source code is released for free distribution under the terms of the
6
7
*   GNU General Public License.
13
14
/*
14
15
*   INCLUDE FILES
15
16
*/
16
 
#include "general.h"    /* must always come first */
17
 
 
18
 
#include "ctags.h"      /* to define langType */
 
17
#include "general.h"  /* must always come first */
 
18
 
 
19
#include "ctags.h"  /* to define langType */
 
20
 
 
21
/*
 
22
*   MACROS
 
23
*/
 
24
/*  Is the character valid as a character of a C identifier?
 
25
 *  VMS allows '$' in identifiers.
 
26
 */
 
27
#define isident(c)  (isalnum(c) || (c) == '_' || (c) == '$')
 
28
 
 
29
/*  Is the character valid as the first character of a C identifier?
 
30
 *  C++ allows '~' in destructors.
 
31
 *  VMS allows '$' in identifiers.
 
32
 */
 
33
#define isident1(c)  (isalpha(c) || (c) == '_' || (c) == '~' || (c) == '$')
19
34
 
20
35
/*
21
36
*   FUNCTION PROTOTYPES
22
37
*/
23
38
extern boolean isBraceFormat (void);
24
39
extern unsigned int getDirectiveNestLevel (void);
25
 
extern void cppInit (const boolean state);
 
40
extern void cppInit (const boolean state, const boolean hasAtLiteralStrings);
26
41
extern void cppTerminate (void);
27
42
extern void cppBeginStatement (void);
28
43
extern void cppEndStatement (void);
29
44
extern void cppUngetc (const int c);
30
45
extern int cppGetc (void);
 
46
extern int skipOverCComment (void);
31
47
extern char *getArglistFromPos(fpos_t startPosition, const char *tokenName);
32
48
extern char *getArglistFromStr(char *buf, const char *name);
33
 
#endif  /* _GET_H */
34
 
 
35
 
/* vi:set tabstop=8 shiftwidth=4: */
 
49
 
 
50
#endif  /* _GET_H */
 
51
 
 
52
/* vi:set tabstop=4 shiftwidth=4: */