wine/tools/wrc/parser.h
Bertho Stultiens 997e0d782f - Implemented animated cursors and icons resource types.
- Added partial support for font resources (user supplied fontdir is
  required).
- All resources with inline data (a la RCDATA) now support language,
  version and characteristics data.
- Implemented resource name duplicate checks. It is now an error if
  two resources of the same type have the same name.
- Bugfix: Language propagation was not correct when .res files were
  generated.
- Bugfix: VERSIONINFO now handles memory options.
- Bugfix: resource names and the resource type may be equal (e.g. MENU
  MENU {...}). This support was mistakingly deleted in the upgrade to
  the builtin preprocessor.
  The standalone LANGUAGE setting became context sensitive as a consequence
  of this. Now it *must* end with a newline *after* both expressions and
  no newlines are allowed within the line (the statement must fit on one
  line). This is no practical problem though.
2000-05-23 01:18:38 +00:00

29 lines
553 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 */
extern int want_id; /* Set when getting the resource name */
int yyparse(void);
/* 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