mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-13 15:08:07 +00:00
Fixed: AS3 p-code parser adding ;trait comment to last instruction
This commit is contained in:
@@ -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,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
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,5 @@
|
||||
/* The following code was generated by JFlex 1.6.0 */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2010-2021 JPEXS, All rights reserved.
|
||||
*
|
||||
@@ -12,7 +14,9 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
|
||||
package com.jpexs.decompiler.flash.exporters.script.graphviz;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user