From 4f2518c3820d6180ea5fbafb199b162ddb8645cf Mon Sep 17 00:00:00 2001 From: Ethan Blanton Date: Wed, 20 Jan 2021 10:42:00 -0500 Subject: [PATCH] small typos, error in documentation for W --- bootstrap.fs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bootstrap.fs b/bootstrap.fs index 3532fd7..529a465 100644 --- a/bootstrap.fs +++ b/bootstrap.fs @@ -257,9 +257,10 @@ cs i, '#, 'L, k , '=, '~, 'L, k:k0-, '=, '|, 'e, l! \ 'W' ( "name" -- c-addr ) \ Skip leading spaces (' ' and '\n'), -\ Read name, then return its address and length. +\ Read name, then return its address. \ The maximum length of the name is 63. The behavior is undefined -\ when the name exceeds 63 characters, +\ when the name exceeds 63 characters. +\ The buffer will be terminated with '\0'. \ Note that it returns the address of statically allocated buffer, \ so the content will be overwritten each time 'w' executed. @@ -2539,7 +2540,7 @@ need-defined (read) ; : export - \ Move latest to the boottm of the dictionary. + \ Move latest to the bottom of the dictionary. latest begin dup name>link while name>link