mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-18 09:28:23 +00:00
Fixed AS1/2 - parenthesis around callfunction
This commit is contained in:
@@ -74,7 +74,13 @@ public class CallFunctionActionItem extends ActionItem {
|
||||
functionName.toStringNoQuotes(writer, localData);
|
||||
}
|
||||
} else {
|
||||
if (functionName.getPrecedence() > getPrecedence()) {
|
||||
writer.append("(");
|
||||
}
|
||||
functionName.appendTry(writer, localData);
|
||||
if (functionName.getPrecedence() > getPrecedence()) {
|
||||
writer.append(")");
|
||||
}
|
||||
}
|
||||
writer.spaceBeforeCallParenthesies(arguments.size());
|
||||
writer.append("(");
|
||||
|
||||
Reference in New Issue
Block a user