Am Freitag, 17. Januar 2014, 09:37:02 schrieb Sam Putman:
> Hi,
> 
> It is almost never the case that one wants to end a file while still
> compiling. 97% of the time this means a trailing semicolon was eliminated
> during some text operation.
> 
> By the time the error occurs, one is in another file, being told that some
> word doesn't exist (because the include got compiled!).
> 
> It would be nice if Gforth issued a warning, in the event that it reaches
> EOF in compile mode.
> 
> Thanks for your consideration.

Yes, makes sense.  It also makes sense to print the same editor-friendly 
locaton frame for every warning as well as for every error.  I added a

warning" <string>"

statement which works like abort" <string>", but prints a warning message 
instead.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to