11 TOKEN_INTEGER = INTEGER,
12 TOKEN_STRING = STRING,
13 TOKEN_IDENTIFIER = IDENTIFIER,
24 union ParseTokenData data;
27 typedef void (*ParseFunc)(ParseToken *token);
28 typedef void (*AssignParseFunc)(char *name, ParseToken *value);
31 void parse_shutdown();
38 void parse_reg_section(char *section, ParseFunc func, AssignParseFunc afunc);
41 /* Free a parsed token's allocated memory */
42 void parse_free_token(ParseToken *token);
44 /* Display an error message while parsing.
45 found in parse.yacc */
46 void yyerror(char *err);