30 lines
625 B
C
30 lines
625 B
C
/*
|
|
* Copyright 1998 Bertho A. Stultiens (BS)
|
|
*
|
|
* Shared things between parser.l and parser.y and some others
|
|
*/
|
|
|
|
#ifndef __WRC_PARSER_H
|
|
#define __WRC_PARSER_H
|
|
|
|
/* From parser.y */
|
|
extern int yydebug;
|
|
extern int want_nl; /* Set when getting line-numers */
|
|
|
|
int yyparse(void);
|
|
void split_icons(raw_data_t *rd, icon_group_t *icog, int *nico);
|
|
void split_cursors(raw_data_t *rd, cursor_group_t *curg, int *ncur);
|
|
|
|
/* From parser.l */
|
|
extern FILE *yyin;
|
|
extern char *yytext;
|
|
extern int yy_flex_debug;
|
|
|
|
int yylex(void);
|
|
void set_pp_ignore(int state);
|
|
void strip_til_semicolon(void);
|
|
void strip_til_parenthesis(void);
|
|
|
|
#endif
|
|
|