[gforth] / gforth / wordinfo.fs  

gforth: gforth/wordinfo.fs

Diff for /gforth/wordinfo.fs between version 1.8 and 1.9

version 1.8, Tue Nov 7 18:07:05 1995 UTC version 1.9, Sun Jan 7 17:22:17 1996 UTC
Line 28 
Line 28 
 \ and finds out what wordtype we have  \ and finds out what wordtype we have
 \ it is used in SEE.FS  \ it is used in SEE.FS
   
 : alias? ( nfa -- flag )  \ the old alias? did not work and it is not used, so I changed
         dup name> look  \ it in many respects - anton
         0= ABORT" WINFO: CFA not found"  : alias? ( nfa1 -- nfa2|0 )
 \       cell+      \ if nfa1 is an alias, nfa2 is the name of the original word
         2dup <>      cell+ dup c@ $80 and 0=
         IF   nip dup 1 cells - here !      IF
              count $1f and here cell+ place true          (name>) @ >name ( use look instead? )
         ELSE 2drop false THEN ;      ELSE
           drop 0
       THEN ;
   
 : var?  ( nfa -- flag )  : var?  ( nfa -- flag )
     cell+ (name>) >code-address dovar: = ;      cell+ (name>) >code-address dovar: = ;


Generate output suitable for use with a patch program
Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help