| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * Copyright 1998 Bertho A. Stultiens (BS)
|
|---|
| 3 | *
|
|---|
| 4 | * Shared things between parser.l and parser.y and some others
|
|---|
| 5 | */
|
|---|
| 6 |
|
|---|
| 7 | #ifndef __WRC_PARSER_H
|
|---|
| 8 | #define __WRC_PARSER_H
|
|---|
| 9 |
|
|---|
| 10 | /* From parser.y */
|
|---|
| 11 | extern int yydebug;
|
|---|
| 12 | extern int want_nl; /* Set when getting line-numers */
|
|---|
| 13 | extern int want_id; /* Set when getting the resource name */
|
|---|
| 14 |
|
|---|
| 15 | int yyparse(void);
|
|---|
| 16 |
|
|---|
| 17 | /* From parser.l */
|
|---|
| 18 | extern FILE *yyin;
|
|---|
| 19 | extern char *yytext;
|
|---|
| 20 | extern int yy_flex_debug;
|
|---|
| 21 |
|
|---|
| 22 | int yylex(void);
|
|---|
| 23 | void set_pp_ignore(int state);
|
|---|
| 24 | void strip_til_semicolon(void);
|
|---|
| 25 | void strip_til_parenthesis(void);
|
|---|
| 26 |
|
|---|
| 27 | #endif
|
|---|
| 28 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.