[gforth] / gforth / see.fs  

gforth: gforth/see.fs

Diff for /gforth/see.fs between version 1.47 and 1.48

version 1.47, Sat Jan 4 08:26:57 2003 UTC version 1.48, Mon Jan 6 11:18:59 2003 UTC
Line 278 
Line 278 
 : .word ( addr x -- addr )  : .word ( addr x -- addr )
     \ print x as a word if possible      \ print x as a word if possible
     dup look 0= IF      dup look 0= IF
         drop dup threaded>name 0= if          drop dup threaded>name dup 0= if
             2drop dup 1 cells - @ dup body> look              2drop dup 1 cells - @ dup body> look
             IF              IF
                 nip dup ." <" name>string rot wordinfo .string ." > "                  nip dup ." <" name>string rot wordinfo .string ." > "
Line 331 
Line 331 
     cell+ ;      cell+ ;
   
 : .name-without ( addr -- addr )  : .name-without ( addr -- addr )
       \ !! the stack effect cannot be correct
 \ prints a name without a() e.g. a(+LOOP) or (s")  \ prints a name without a() e.g. a(+LOOP) or (s")
     dup 1 cells - @ threaded>name IF      dup 1 cells - @ threaded>name dup IF
         name>string over c@ 'a = IF          name>string over c@ 'a = IF
             1 /string              1 /string
         THEN          THEN


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help