about summary refs log tree commit diff
path: root/compilation/transform.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-10-05 20:58:52 -0700
committerIrene Knapp <ireneista@irenes.space>2026-10-05 20:58:52 -0700
commit2b601cdda09dc566c011efd1c5f72c30b196e1d3 (patch)
tree9a9d6854311488e56b63563c581d4a91104c9260 /compilation/transform.e
parent39304d51c4a6d057e6515a9f75db2086940f6877 (diff)
yessssssssssss, nice clean invocation now
Force-Push: yes
Change-Id: Id3bfde4a2053c9f07fd596def8381afc505949eb
Diffstat (limited to 'compilation/transform.e')
-rw-r--r--compilation/transform.e13
1 files changed, 13 insertions, 0 deletions
diff --git a/compilation/transform.e b/compilation/transform.e
index 31ef810..0798fd9 100644
--- a/compilation/transform.e
+++ b/compilation/transform.e
@@ -5352,6 +5352,19 @@ allocate-transformation-state s" transformation-state" variable
     exit
   } if
 
+  ~ We similarly want to suppress process-command-line-arguments.
+  dup s" process-command-line-arguments" stringcmp 0 = {
+    create dropstring
+    s" docol" find entry-to-execution-token execute ,
+    make-hidden
+
+    ~ Return before doing anything.
+    s" exit" find entry-to-execution-token ,
+
+    x' ] execute
+    exit
+  } if
+
   ~   We are entirely replacing sys-write with our own version. It's an
   ~ assembly word, and we're replacing it with a Forth word, so there's some
   ~ matching code in the ;asm alternate that makes sure to not mess that up.