--- gforth/doc/makedoc.fs 2000/09/23 15:47:06 1.5 +++ gforth/doc/makedoc.fs 2004/12/31 13:24:02 1.10 @@ -1,6 +1,6 @@ \ create a documentation file -\ Copyright (C) 1995,1999 Free Software Foundation, Inc. +\ Copyright (C) 1995,1999,2000,2003,2004 Free Software Foundation, Inc. \ This file is part of Gforth. @@ -67,8 +67,8 @@ s" \ automatically generated by makedoc. source >in ! drop ; immediate : put-doc-entry ( -- ) - locals-list @ 0= \ not in a colon def, i.e., not a local name - last @ 0<> and \ not an anonymous (i.e. noname) header + dpp @ normal-dp = \ not defining locals + latest 0<> and \ not an anonymous (i.e. noname) header if s" " >fileCR s" make-doc " >file @@ -89,7 +89,7 @@ s" \ automatically generated by makedoc. ELSE drop >in ! THEN - last @ name>string >file + latest name>string >file >file s" )" >file POSTPONE \g