9 TOKEN_INTEGER = INTEGER,
10 TOKEN_STRING = STRING,
11 TOKEN_IDENTIFIER = IDENTIFIER,
22 union ParseTokenData data;
25 typedef void (*ParseFunc)(ParseToken *token);
26 typedef void (*AssignParseFunc)(char *name, ParseToken *value);
29 void parse_shutdown();
36 void parse_reg_section(char *section, ParseFunc func, AssignParseFunc afunc);
39 /* Free a parsed token's allocated memory */
40 void parse_free_token(ParseToken *token);
42 /* Display an error message while parsing.
43 found in parse.yacc */
44 void yyerror(char *err);