]> gitweb.factorcode.org Git - factor.git/commitdiff
Revert "system: make exit have ( n -- ) stack effect"
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 1 Sep 2023 04:42:46 +0000 (21:42 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 1 Sep 2023 04:42:46 +0000 (21:42 -0700)
This reverts commit 3c441d38b59cba7c24ac68bc9f8f4da971301f27.

core/system/system.factor

index 765f7946c59e254698e917d42543fdf4543b4249..30089f18d4f2b82be3223a34448aa1e4897f993d 100644 (file)
@@ -82,7 +82,7 @@ PRIVATE>
         vm-compiler % "] on " % os name>> %
     ] "" make ;
 
-: exit ( n -- )
-    '[ do-shutdown-hooks _ (exit) ] ignore-errors
+: exit ( n -- )
+    [ do-shutdown-hooks (exit) ] ignore-errors
     [ "Unexpected error during shutdown!" print flush ] ignore-errors
     255 (exit) ;