Bertho Stultiens 3d455c9b16 - Bugfix: Corrected a SEGV in the rawdata handling. Mistakingly took the
address of a pointer instead of its value. This probably slipped in
  during the merge of my tree into the winetree.
  Lesson learned: always double check.
- Verified most resources so that win16 compile also generates correct
  output for reversed endian.
- Implemented byte-ordering for resources. All resources can be forced
  to be little-, big- or native endian with command-line option -B.
- Reading resources from .res-files are only accepted in native byte-
  ordering so that no additional semantic analysis is required.
- Resource directory is still written in native-only format, including
  the strings.
- Wrc is now installed through the makefile with 'make install' and also
  uninstalled with 'make uninstall'.
- Wrote a man-page for better reference. The manpage also gets installed
  and uninstalled.
- Cleaned up the namespace a bit by more agressive use of static.
2000-05-09 22:35:10 +00:00

28 lines
491 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);
/* 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