Fixed AS1/2 - use slash syntax in get/setvariable only in eval/set

This commit is contained in:
Jindra Petřík
2021-11-23 20:50:33 +01:00
parent 7bd90af605
commit dcc066262c
7 changed files with 1122 additions and 1240 deletions

View File

@@ -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()); }
}