summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index c2cc91a..1a528c0 100644
--- a/readme.md
+++ b/readme.md
@@ -58,9 +58,9 @@ have a closing bracket: ).
### `(0handler) ( -- )`
the very early error handler, which simply quits the program.
-### `(abort") ( ? -- )`
+### `(abort") ( a u -- )`
perform the runtime actions of `abort"`:
-check for non-zero and print and abort, or do nothing.
+print string to error and abort.
### `(create) ( -- )`
the default behaviour of a word made by `create`,
@@ -282,8 +282,8 @@ duplicate the two topmost values on the stack.
call the error handler
(the address of which is in the variable `handler`)
-### `abort" ( ? -- ) IMMEDIATE COMPILE-ONLY`
-if `?` is non-zero, write the message that follows (terminated by `"`)
+### `abort" ( -- ) IMMEDIATE COMPILE-ONLY`
+write the message that follows (terminated by `"`)
to standard out then call the error handler.
(the address of which is in the variable `handler`)
@@ -836,3 +836,4 @@ but it diverges in a few notable places:
(128 bit integer arithmetic does not seem all that useful to me)
- the dynamic allocation `free` word requires a length.
this is because munmap requires a length.
+- `abort"` does not take a flag and always executes.