mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 13:51:28 +00:00
Fixed: AS3 p-code parser adding ;trait comment to last instruction
This commit is contained in:
+1
-1
@@ -838,7 +838,7 @@ public class ASM3Parser {
|
||||
break;
|
||||
}
|
||||
if (symb.type == ParsedSymbol.TYPE_COMMENT) {
|
||||
if (lastIns != null) {
|
||||
if (lastIns != null && blockStack.contains(ParsedSymbol.TYPE_KEYWORD_CODE)) {
|
||||
lastIns.comment = (String) symb.value;
|
||||
}
|
||||
continue;
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/* The following code was generated by JFlex 1.6.0 */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2010-2016 JPEXS, All rights reserved.
|
||||
* Copyright (C) 2010-2021 JPEXS, All rights reserved.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
||||
Reference in New Issue
Block a user