|
From: | Sam Putman |
Subject: | Re: [gforth] Proposed: Issue warning when file ends in compilation mode |
Date: | Fri, 17 Jan 2014 12:49:22 -0800 |
Am Freitag, 17. Januar 2014, 09:37:02 schrieb Sam Putman:
Yes, makes sense. It also makes sense to print the same editor-friendly> 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.
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.
[Prev in Thread] | Current Thread | [Next in Thread] |