mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-20 15:26:08 +00:00
Fixed: AS3 direct editation - NaN can be used as identifier
This commit is contained in:
@@ -2587,10 +2587,10 @@ public class ActionScript3Parser {
|
||||
ret = function(allOpenedNamespaces, new ArrayList<>(), pkg, false, false, needsActivation, importedClasses, thisType, openedNamespaces, fname, false, variables, abc);
|
||||
allowMemberOrCall = true;
|
||||
break;
|
||||
case NAN:
|
||||
/*case NAN:
|
||||
ret = new NanAVM2Item(null, null);
|
||||
|
||||
break;
|
||||
break;*/
|
||||
case INFINITY:
|
||||
ret = new DoubleValueAVM2Item(null, null, Double.POSITIVE_INFINITY);
|
||||
|
||||
|
||||
@@ -1872,9 +1872,9 @@ public class ActionScript3SimpleParser implements SimpleParser {
|
||||
ret = true;
|
||||
allowMemberOrCall = true;
|
||||
break;
|
||||
case NAN:
|
||||
/*case NAN:
|
||||
ret = true;
|
||||
break;
|
||||
break;*/
|
||||
case INFINITY:
|
||||
ret = true;
|
||||
break;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -503,10 +503,9 @@ public enum SymbolType {
|
||||
* Other: undefined
|
||||
*/
|
||||
UNDEFINED(GraphTargetItem.PRECEDENCE_PRIMARY, false),
|
||||
/**
|
||||
* Other: NaN
|
||||
*/
|
||||
NAN(GraphTargetItem.PRECEDENCE_PRIMARY, false),
|
||||
|
||||
//NAN(GraphTargetItem.PRECEDENCE_PRIMARY, false),
|
||||
|
||||
/**
|
||||
* Keyword: final
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user