diff --git a/code/globalcpp/parser/yyLexer.l b/code/globalcpp/parser/yyLexer.l index d31d7e5e..e7741232 100644 --- a/code/globalcpp/parser/yyLexer.l +++ b/code/globalcpp/parser/yyLexer.l @@ -149,6 +149,7 @@ static bool UseField( void ) . { ; } "*/" { Compiler.CompileError( parsedata.pos - yyleng, "'*/' found outside of comment" ); } +\\[\r\n]+ { ; } "//"[^\r\n]* { if( prev_yylex != TOKEN_EOL ) YYLEX( TOKEN_EOL ); } [\r\n]* { BEGIN( INITIAL ); YYLEX( TOKEN_EOL ); }