Don't use %option header-file in scriptvals_lexer.l as Flex 2.5.4 (used on Windows) doesn't support this option

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5026 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-05-10 18:52:07 +00:00
parent 0c07334905
commit 53f1a78b21
2 changed files with 6 additions and 2 deletions

View File

@ -56,7 +56,6 @@ static UDWORD currText=0;
%option yylineno noyywrap nounput
%option warn nodefault
%option prefix="scrv_"
%option header-file="scriptvals_lexer.lex.h"
%x COMMENT
%x SLCOMMENT

View File

@ -34,7 +34,6 @@
#include "scriptvals.h"
#include "lib/framework/lexer_input.h"
#include "scriptvals_parser.tab.h"
#include "scriptvals_lexer.lex.h"
#include "src/scripttabs.h"
#include "src/objects.h"
#include "src/droid.h"
@ -46,6 +45,12 @@
// The current script code
static SCRIPT_CODE *psCurrScript;
extern int scrv_lex(YYSTYPE * yylval_param);
extern void scrv_set_extra(YY_EXTRA_TYPE user_defined);
extern int scrv_lex_destroy(void);
extern int scrv_get_lineno(void);
extern char* scrv_get_text(void);
// The current script context
static SCRIPT_CONTEXT *psCurrContext;