summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.go b/src/main.go
index a31b5b5..f74344e 100644
--- a/src/main.go
+++ b/src/main.go
@@ -138,7 +138,7 @@ func compile(raw[]string) {
fmt.Printf(".endloop%d:\n", looplabels[len(looplabels) - 1])
looplabels = looplabels[:len(looplabels) - 1]
/* Functions */
- case "return":
+ case "exit":
print(" ;; RETURN")
print(" pop rdi")
print(" mov rax, 60")