Flex bison fix

multiline statment fix
This commit is contained in:
RyBack 2017-07-07 19:19:46 +02:00
parent 47bfa6158d
commit a2f10ab2a7

View file

@ -149,6 +149,7 @@ static bool UseField( void )
<C_COMMENT>. { ; }
"*/" { Compiler.CompileError( parsedata.pos - yyleng, "'*/' found outside of comment" ); }
\\[\r\n]+ { ; }
"//"[^\r\n]* { if( prev_yylex != TOKEN_EOL ) YYLEX( TOKEN_EOL ); }
<VARIABLES>[\r\n]* { BEGIN( INITIAL ); YYLEX( TOKEN_EOL ); }