On Fri, Jan 17, 2014 at 11:09 AM, Bernd Paysan <[email protected]> wrote:
> 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. > Excellent, thank you! cheers, -Sam.
