On Wed, Nov 28, 2012 at 01:21:52PM +0100, Bernd Paysan wrote: > Am Mittwoch, 28. November 2012, 04:24:38 schrieb David Kuehling: > > Hi, > > > > after building and installing Gforth from CVS, a few test-cases of a > > current project don't pass any more. > > > > Here are a few code sequences that don't behave as before: > > > > * gforth -e '1 (bye)' > > > > does not quit any more, it enters the interpreter (doing '0 (bye)' > > does work however) > > That's because I've prepared Gforth to integrate as library - and it now > returns via (bye) after startup.
It has returned for a long time. If it returns to main(), it used to do some cleanup actions and then main() returns (and whatever calls main() exits). Why has that changed? If (bye) is used in an inner invocation of the engine, then it probably should not exit, but that's not what David has tried. - anton
