Sha256: 536c589478ff2d645a6576a982ab883d5a1bf3943c4ee7a807269c4cefe0ef07

Contents?: true

Size: 1.23 KB

Versions: 5

Compression:

Stored size: 1.23 KB

Contents

/*
*   $Id: get.h 525 2007-05-28 01:50:41Z elliotth $
*
*   Copyright (c) 1998-2002, Darren Hiebert
*
*   This source code is released for free distribution under the terms of the
*   GNU General Public License.
*
*   External interface to get.c
*/
#ifndef _GET_H
#define _GET_H

/*
*   INCLUDE FILES
*/
#include "general.h"  /* must always come first */

#include "ctags.h"  /* to define langType */

/*
*   MACROS
*/
/*  Is the character valid as a character of a C identifier?
 *  VMS allows '$' in identifiers.
 */
#define isident(c)  (isalnum(c) || (c) == '_' || (c) == '$')

/*  Is the character valid as the first character of a C identifier?
 *  C++ allows '~' in destructors.
 *  VMS allows '$' in identifiers.
 */
#define isident1(c)  (isalpha(c) || (c) == '_' || (c) == '~' || (c) == '$')

/*
*   FUNCTION PROTOTYPES
*/
extern boolean isBraceFormat (void);
extern unsigned int getDirectiveNestLevel (void);
extern void cppInit (const boolean state, const boolean hasAtLiteralStrings);
extern void cppTerminate (void);
extern void cppBeginStatement (void);
extern void cppEndStatement (void);
extern void cppUngetc (const int c);
extern int cppGetc (void);
extern int skipOverCComment (void);

#endif  /* _GET_H */

/* vi:set tabstop=4 shiftwidth=4: */

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ctags.rb-1.0.19 ext/vendor/exuberant-ctags/get.h
ctags.rb-1.0.18 ext/vendor/exuberant-ctags/get.h
ctags.rb-1.0.15 ext/vendor/exuberant-ctags/get.h
ctags.rb-1.0.6 ext/vendor/exuberant-ctags/get.h
ctags.rb-1.0.0 ext/vendor/exuberant-ctags/get.h