X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/61a5b9da90fad25f227d2d3e0187fe753cb10d34..1e8d80477a3e058a30c477955f1e0c56deb6e956:/Scanner.lpp.in diff --git a/Scanner.lpp.in b/Scanner.lpp.in index a928264..d9614df 100644 --- a/Scanner.lpp.in +++ b/Scanner.lpp.in @@ -482,6 +482,7 @@ XMLName {XMLNameStart}{XMLNamePart}* "Infinity" L /*III*/ F(tk::_Infinity_, hi::Constant); "instanceof" L /*KKK*/ F(tk::_instanceof_, hi::Operator); "int" L /*FII*/ F(tk::_int_, hi::Type); +"__int128" L /*III*/ F(tk::___int128_, hi::Type); "interface" L /*FSS*/ F(tk::_interface_, hi::Meta); "let" L /*IS?*/ F(tk::_let_, hi::Meta); "long" L /*FII*/ F(tk::_long_, hi::Type); @@ -605,8 +606,10 @@ XMLName {XMLNameStart}{XMLNamePart}* "$" R CYLexBufferUnit('$'); {PlateCharacter}+ R CYLexBufferUnits(yytext, yyleng); - {PlateCharacter}*{LineTerminatorSequence} R E("invalid newline"); {PlateCharacter}*{UnicodeScrap} R E("invalid character"); + + {PlateCharacter}*{LineTerminatorSequence} yylloc->end.Lines(); CYLexBufferUnits(yytext, yyleng); + \\{LineTerminatorSequence} yylloc->end.Lines(); } /* }}} */ /* Escapes {{{ */