summaryrefslogtreecommitdiff
path: root/src/codegen/Label.java
diff options
context:
space:
mode:
authorgeno <gabriele.genovese2@studio.unibo.it>2024-07-18 12:16:40 +0200
committergeno <gabriele.genovese2@studio.unibo.it>2024-07-18 12:16:40 +0200
commit31ee062ad12adcf6dae6716cb566fcbcde9f6959 (patch)
tree2fdc2b1b8ee39269bb1308cbff12f9e60630ee02 /src/codegen/Label.java
parent635360137c14d785ccbea17d4a93f49418c8ca69 (diff)
codegen while implemented, test added
Diffstat (limited to 'src/codegen/Label.java')
-rw-r--r--src/codegen/Label.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/Label.java b/src/codegen/Label.java
index a301ede..61403d8 100644
--- a/src/codegen/Label.java
+++ b/src/codegen/Label.java
@@ -41,6 +41,6 @@ public class Label {
public static String newVar() {
- return "_tmp" + (varDefCount++);
+ return "tmp" + (varDefCount++);
}
}