--- gforth/doc/makedoc.fs 2007/12/31 18:40:25 1.13 +++ gforth/doc/makedoc.fs 2010/12/31 18:09:02 1.15 @@ -1,6 +1,6 @@ \ create a documentation file -\ Copyright (C) 1995,1999,2000,2003,2004,2007 Free Software Foundation, Inc. +\ Copyright (C) 1995,1999,2000,2003,2004,2007,2010 Free Software Foundation, Inc. \ This file is part of Gforth. @@ -84,18 +84,18 @@ s" \ automatically generated by makedoc. endif endif [char] \ parse 2drop - >in @ - bl word dup c@ + >in @ + parse-name dup IF - dup count 1- chars + c@ [char] - = + 2dup 1- chars + c@ [char] - = IF s" --" >file - count >file drop + >file drop ELSE - drop >in ! + 2drop >in ! THEN ELSE - drop >in ! + 2drop >in ! THEN latest name>string >file s" " >file