mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 00:44:58 +00:00
Changed: AS1/2 P-code double Push values have suffix ".0" to properly distinguish them
Changed: AS1/2 P-code float Push values have suffix "f" to properly distinguish them
This commit is contained in:
@@ -130,7 +130,8 @@ Constant= constant{NumberLiteral}
|
||||
/* numeric literals */
|
||||
|
||||
{NumberLiteral} { return token(TokenType.NUMBER); }
|
||||
{FloatLiteral} { return token(TokenType.NUMBER); }
|
||||
{FloatLiteral} "f" { return token(TokenType.NUMBER); }
|
||||
{FloatLiteral} { return token(TokenType.NUMBER); }
|
||||
{LineTerminator} {yybegin(YYINITIAL); return token(TokenType.NEWLINE);}
|
||||
{Comment} {return token(TokenType.COMMENT);}
|
||||
{StartOfBlock} {return token(TokenType.WHITESPACE);}
|
||||
|
||||
Reference in New Issue
Block a user