From 3fcf7669dd5a24231c9517f0de095df568100f3b Mon Sep 17 00:00:00 2001 From: Vipin Kumar Date: Mon, 28 Aug 2017 11:26:09 +0000 Subject: [PATCH] Fix bug; functionName in function command need to be uppercase --- CodeWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeWriter.java b/CodeWriter.java index 5cd56e7..4cf6060 100644 --- a/CodeWriter.java +++ b/CodeWriter.java @@ -647,7 +647,7 @@ public void writeFunction(String funcName, String nLocals) { writeComment("function " + funcName + " " + nLocals); // (funcName) - out.write("(" + funcName + ")"); + out.write("(" + funcName.toUpperCase() + ")"); out.newLine();