1 /************************* Required for every parser *************************/
2 #ifndef OHCOUNT_C_PARSER_H
3 #define OHCOUNT_C_PARSER_H
5 #include "../parser_macros.h"
7 // the name of the language
8 const char *C_LANG = LANG_C;
10 // the languages entities
11 const char *c_entities[] = {
12 "space", "comment", "string", "number", "preproc",
13 "keyword", "identifier", "operator", "any"
16 // constants associated with the entities
18 C_SPACE = 0, C_COMMENT, C_STRING, C_NUMBER, C_PREPROC,
19 C_KEYWORD, C_IDENTIFIER, C_OPERATOR, C_ANY
22 /*****************************************************************************/