mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-07 02:18:42 +00:00
Issue #730 Not working without ActiveX fix on Windows
Ocal escapes for strings in AS1/2. Invalid escape in string does not generate exception (handle as \\ in AS1/2, empty string in AS3).
This commit is contained in:
@@ -622,7 +622,7 @@ OIdentifierCharacter = [^\r\n\u00A7\\]
|
||||
|
||||
/* escape sequences */
|
||||
|
||||
\\. { throw new AVM2ParseException("Illegal escape sequence \"" + yytext() + "\"", yyline + 1); }
|
||||
\\. { /* ignore illegal character escape */ }
|
||||
{LineTerminator} { yybegin(YYINITIAL); yyline++;}
|
||||
}
|
||||
|
||||
@@ -651,7 +651,7 @@ OIdentifierCharacter = [^\r\n\u00A7\\]
|
||||
|
||||
/* escape sequences */
|
||||
|
||||
\\. { throw new AVM2ParseException("Illegal escape sequence \""+ yytext() +"\"", yyline + 1); }
|
||||
\\. { /* ignore illegal character escape */ }
|
||||
{LineTerminator} { yybegin(YYINITIAL); yyline++;}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user