source: trunk/tools/wrc/parser.h@ 3830

Last change on this file since 3830 was 3426, checked in by sandervl, 25 years ago

update with latest wine code

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