mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-04 15:14:49 +00:00
Fixed AS1/2 - use slash syntax in get/setvariable only in eval/set
This commit is contained in:
@@ -113,8 +113,6 @@ Identifier = [:jletter:][:jletterdigit:]*
|
||||
|
||||
IdentifierOrParent = {Identifier} | ".."
|
||||
|
||||
Path = "/" | "/"? {IdentifierOrParent} ("/" {IdentifierOrParent})* "/"?
|
||||
|
||||
/* integer literals */
|
||||
DecIntegerLiteral = 0 | [1-9][0-9]*
|
||||
|
||||
@@ -379,8 +377,7 @@ Preprocessor = \u00A7\u00A7 {Identifier}
|
||||
/* whitespace */
|
||||
{WhiteSpace} { /*ignore*/ }
|
||||
/* identifiers */
|
||||
{Identifier} { return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.IDENTIFIER, yytext()); }
|
||||
{Path} { return new ParsedSymbol(SymbolGroup.PATH, SymbolType.PATH, yytext()); }
|
||||
{Identifier} { return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.IDENTIFIER, yytext()); }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user