blob: 1281cc97f91f3fbfa7c078f77d9c1bf6b9c2b527 [file] [log] [blame]
Mark Slee31985722006-05-24 21:45:31 +00001#ifndef T_MAIN_H
2#define T_MAIN_H
3
Mark Sleef5377b32006-10-10 01:42:59 +00004/**
5 * Defined in the flex library
6 */
Mark Slee31985722006-05-24 21:45:31 +00007
Mark Sleef5377b32006-10-10 01:42:59 +00008extern int yylex(void);
9extern int yyparse(void);
Mark Slee31985722006-05-24 21:45:31 +000010
Mark Sleef5377b32006-10-10 01:42:59 +000011/**
12 * Expected to be defined by Flex/Bison
13 */
14extern void yyerror(char* fmt, ...);
Mark Slee31985722006-05-24 21:45:31 +000015
Mark Sleef5377b32006-10-10 01:42:59 +000016/**
17 * Parse debugging output, used to print warnings etc.
18 */
19extern void pdebug(char* fmt, ...);
20
21/**
22 * Flex utilities
23 */
24
Mark Slee31985722006-05-24 21:45:31 +000025extern int yylineno;
26extern char yytext[];
27extern FILE* yyin;
28
29#endif