summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-17 19:39:06 -0400
committerbd <bdunahu@operationnull.com>2025-04-17 19:39:06 -0400
commit7ad6093d69afa90de243e72868f0d463dcd5eae7 (patch)
treebca1b4259ccdcfd4ac8d188383a922b88efaed1a /src
parent3b8a36443a6d83b54fc698a774ef50705f36dcb9 (diff)
Add new push/pop test case, ensure generated files end in .rv
Diffstat (limited to 'src')
-rw-r--r--src/util.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.lisp b/src/util.lisp
index d0e32c4..14e5d74 100644
--- a/src/util.lisp
+++ b/src/util.lisp
@@ -22,7 +22,7 @@
(defun generate-file-name (file)
"Given a .asm file, generates an identically named .rv file."
- (subseq file 0 (- (length file) 4)))
+ (concatenate 'string (subseq file 0 (- (length file) 3)) "rv"))
(defun format-as-binary (num len)
"Formats NUM as a binary number, and pads to LEN with zeros."