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:
Gé van Geldorp
2006-01-06 19:56:51 +00:00
parent 41e42de943
commit c509ca7a82
3 changed files with 435 additions and 6708 deletions
+431 -6703
View File
File diff suppressed because it is too large Load Diff
+2 -5
View File
@@ -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;
+2
View File
@@ -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);