mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Sync to Wine-0_9_5:
Alexandre Julliard <[email protected]> - Support building flex files without debug support. - Added some flex options to avoid compiler warnings. Moved options from the Makefile into the source. svn path=/trunk/; revision=20618
This commit is contained in:
+431
-6703
File diff suppressed because it is too large
Load Diff
@@ -87,7 +87,8 @@
|
||||
%x pp_code_page
|
||||
|
||||
%option stack
|
||||
%option never-interactive
|
||||
%option nounput noyy_top_state
|
||||
%option 8bit never-interactive
|
||||
|
||||
/* Some shortcut definitions */
|
||||
ws [ \f\t\r]
|
||||
@@ -111,10 +112,6 @@ cident [a-zA-Z_][0-9a-zA-Z_]*
|
||||
|
||||
#include "parser.tab.h"
|
||||
|
||||
#define YY_USE_PROTOS
|
||||
#define YY_NO_UNPUT
|
||||
#define YY_NO_TOP_STATE
|
||||
|
||||
/* Always update the current character position within a line */
|
||||
#define YY_USER_ACTION char_number+=yyleng; wanted_id = want_id; want_id = 0;
|
||||
|
||||
|
||||
@@ -165,6 +165,8 @@ int char_number = 1; /* The current char pos within the line */
|
||||
char *cmdline; /* The entire commandline */
|
||||
time_t now; /* The time of start of wrc */
|
||||
|
||||
int yy_flex_debug;
|
||||
|
||||
resource_t *resource_top; /* The top of the parsed resources */
|
||||
|
||||
int getopt (int argc, char *const *argv, const char *optstring);
|
||||
|
||||
Reference in New Issue
Block a user