--- gforth/gray.fs 2007/12/31 19:02:24 1.11 +++ gforth/gray.fs 2008/07/15 16:11:49 1.13 @@ -1,6 +1,6 @@ \ recursive descent parser generator ) -\ Copyright (C) 1995,1996,1997,2000,2003,2007 Free Software Foundation, Inc. +\ Copyright (C) 1995,1996,1997,2000,2003,2007,2008 Free Software Foundation, Inc. \ Copyright 1990, 1991, 1994 Martin Anton Ertl \ This file is part of Gforth. @@ -746,9 +746,13 @@ constant nt-syntax-expr : generate-nt \ -- ) \ generates a call to the code for the rule ) \ since the code needs not be generated yet, an indirect call is used ) - exec postpone literal - postpone @ - postpone execute ; + exec dup @ if + @ compile, + else + postpone literal + postpone @ + postpone execute + endif ; : pass2-nt \ -- ) \ apart from the usual duties, this pass2 also has to code-nt )