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-861f7616d084master
parent
0c07334905
commit
53f1a78b21
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue