From ec4ff252cdf2b0611f7e7c58b50e3d9c715e96bb Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Wed, 1 Jan 2025 00:37:36 +0400 Subject: `rem` renamed to `drop` --- src/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.go b/src/main.go index 9e61566..71c1a03 100644 --- a/src/main.go +++ b/src/main.go @@ -99,8 +99,8 @@ func parse(tokens[]Token) []Operation { op.name = "dump" case "dup": op.name = "duplicate" - case "rem": - op.name = "remove" + case "drop": + op.name = "drop" case "swap": op.name = "swap" case "if": @@ -226,7 +226,7 @@ func compileX86_64(ops[] Operation) { print(" push r10") print(" push r10") - case "remove": + case "drop": print(" pop r10") case "swap": -- cgit v1.2.3