mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-30 06:37:57 +03:00
Flex bison fix
multiline statment fix
This commit is contained in:
parent
47bfa6158d
commit
a2f10ab2a7
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@ static bool UseField( void )
|
||||||
<C_COMMENT>. { ; }
|
<C_COMMENT>. { ; }
|
||||||
"*/" { Compiler.CompileError( parsedata.pos - yyleng, "'*/' found outside of comment" ); }
|
"*/" { Compiler.CompileError( parsedata.pos - yyleng, "'*/' found outside of comment" ); }
|
||||||
|
|
||||||
|
\\[\r\n]+ { ; }
|
||||||
"//"[^\r\n]* { if( prev_yylex != TOKEN_EOL ) YYLEX( TOKEN_EOL ); }
|
"//"[^\r\n]* { if( prev_yylex != TOKEN_EOL ) YYLEX( TOKEN_EOL ); }
|
||||||
|
|
||||||
<VARIABLES>[\r\n]* { BEGIN( INITIAL ); YYLEX( TOKEN_EOL ); }
|
<VARIABLES>[\r\n]* { BEGIN( INITIAL ); YYLEX( TOKEN_EOL ); }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue