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 indialog; /* Set when parsing dialogs */
|
---|
13 | extern int want_rscname; /* Set when a resource's name is required */
|
---|
14 |
|
---|
15 | int yyparse(void);
|
---|
16 | void split_icons(raw_data_t *rd, icon_group_t *icog, int *nico);
|
---|
17 | void split_cursors(raw_data_t *rd, cursor_group_t *curg, int *ncur);
|
---|
18 |
|
---|
19 | /* From parser.l */
|
---|
20 | extern FILE *yyin;
|
---|
21 | extern char *yytext;
|
---|
22 | extern int line_number;
|
---|
23 | extern int char_number;
|
---|
24 |
|
---|
25 | int yylex(void);
|
---|
26 | void set_yywf(void);
|
---|
27 | void set_pp_ignore(int state);
|
---|
28 | void push_to(int start);
|
---|
29 | void pop_start(void);
|
---|
30 | void strip_extern(void);
|
---|
31 | void strip_til_semicolon(void);
|
---|
32 | void strip_til_parenthesis(void);
|
---|
33 |
|
---|
34 | #endif
|
---|
35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.