--- gforth/kernel/getdoers.fs 2000/09/23 15:47:10 1.5 +++ gforth/kernel/getdoers.fs 2006/02/26 17:23:47 1.13 @@ -1,6 +1,6 @@ \ -\ Copyright (C) 1996, 1998,1999 Free Software Foundation, Inc. +\ Copyright (C) 1996, 1998,1999,2003,2005 Free Software Foundation, Inc. \ This file is part of Gforth. @@ -24,6 +24,12 @@ doer? :docon [IF] ['] bl >code-address ; [THEN] +doer? :dovalue [IF] +: dovalue: ( -- addr ) \ gforth + \G The code address of a @code{CONSTANT}. + ['] def#tib >code-address ; +[THEN] + : docol: ( -- addr ) \ gforth \G The code address of a colon definition. ['] on >code-address ; @@ -46,17 +52,18 @@ doer? :douser [IF] doer? :dodefer [IF] : dodefer: ( -- addr ) \ gforth \G The code address of a @code{defer}ed word. - ['] source >code-address ; + ['] parser1 >code-address ; [THEN] doer? :dofield [IF] + : dofield: ( -- addr ) \ gforth \G The code address of a @code{field}. - ['] reveal-method >code-address ; + ['] >body >code-address ; [THEN] -has? prims 0= [IF] +true [IF] \ !! don't know what to put here : dodoes: ( -- addr ) \ gforth \G The code address of a @code{field}??? - ['] spaces >code-address ; + ['] DOES> >code-address ; [THEN]