Skip to content

Commit

Permalink
Fix bug; functionName in function command need to be uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
VipinindKumar committed Aug 28, 2017
1 parent e32da7f commit 3fcf766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CodeWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();


Expand Down

0 comments on commit 3fcf766

Please sign in to comment.