Deal w/ multi-line String Literals.
This commit is contained in:
@@ -184,6 +184,7 @@ Comments = #[^\r\n]*
|
||||
}
|
||||
<STR>{
|
||||
{StringLiteral} {currString+=yytext();}
|
||||
\\$ { /*'\' at the end of line, do nothing.*/ }
|
||||
"\"" {yybegin(AFTER); return symbol(ChocoPyTokens.STRING, currString);}
|
||||
}
|
||||
<<EOF>> { return symbol(ChocoPyTokens.EOF); }
|
||||
|
||||
Reference in New Issue
Block a user