Change throw code for abort quote from -1 to -2.
[pforth] / fth / misc1.fth
index 3a3a60a..373e495 100644 (file)
@@ -36,7 +36,9 @@ decimal
 \r
 : (ABORT")  ( flag $message -- )\r
     swap\r
 \r
 : (ABORT")  ( flag $message -- )\r
     swap\r
-    IF count type cr abort\r
+    IF\r
+       count type cr\r
+       err_abortq throw\r
     ELSE drop\r
     THEN\r
 ;\r
     ELSE drop\r
     THEN\r
 ;\r