Update styles
This commit is contained in:
@@ -180,6 +180,8 @@ if True:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
<AFTER> {
|
||||
|
||||
/* Delimiters. */
|
||||
@@ -254,14 +256,18 @@ if True:
|
||||
|
||||
/*Identifiers*/
|
||||
{Identifiers} { return symbol(ChocoPyTokens.ID, yytext()); }
|
||||
|
||||
/* Whitespace. */
|
||||
{WhiteSpace} { /* ignore */ }
|
||||
|
||||
/* Comment. */
|
||||
{Comments} { /* ignore */ }
|
||||
}
|
||||
<STR>{
|
||||
{StringLiteral} { currString += yytext(); }
|
||||
|
||||
\\$ { /*'\' at the end of line, do nothing.*/ }
|
||||
|
||||
"\"" { yybegin(AFTER); return symbolFactory.newSymbol(ChocoPyTokens.terminalNames[ChocoPyTokens.STRING], ChocoPyTokens.STRING,
|
||||
new ComplexSymbolFactory.Location(str_l, str_c),
|
||||
new ComplexSymbolFactory.Location(yyline + 1,yycolumn + yylength()),
|
||||
|
||||
Reference in New Issue
Block a user