Fixed AS2 - class detection - ignore standalone directvalues

This commit is contained in:
Jindra Petřík
2021-11-27 10:05:25 +01:00
parent e348df4bbe
commit ca2815f0c9
2 changed files with 4 additions and 0 deletions

View File

@@ -712,6 +712,9 @@ public class ActionScript2ClassDetector {
} else {
throw new AssertException("unknown pushitem function call " + funName);
}
} else if (item instanceof DirectValueActionItem) {
//ignore such values
//TODO: maybe somehow display in the class ?
} else {
throw new AssertException("unknown item - " + item.getClass().getSimpleName());
}