|
Last change
on this file since 1844 was 882, checked in by sandervl, 26 years ago |
|
Created Wine port of wrc (using EMX/GCC)
|
|
File size:
782 bytes
|
| 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_til_semicolon(void);
|
|---|
| 31 | void strip_til_parenthesis(void);
|
|---|
| 32 |
|
|---|
| 33 | #endif
|
|---|
| 34 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.