Diff for /gforth/extend.fs between versions 1.67 and 1.68

version 1.67, 2010/12/31 18:09:02 version 1.68, 2011/08/10 13:55:02
Line 63  decimal Line 63  decimal
 0 CONSTANT case ( compilation  -- case-sys ; run-time  -- ) \ core-ext  0 CONSTANT case ( compilation  -- case-sys ; run-time  -- ) \ core-ext
     immediate      immediate
   
   : ?of ( compilation  -- of-sys ; run-time  f -- ) \ gforth
       1+ >r POSTPONE if r> ; immediate
   
 : of ( compilation  -- of-sys ; run-time x1 x2 -- |x1 ) \ core-ext  : of ( compilation  -- of-sys ; run-time x1 x2 -- |x1 ) \ core-ext
     \ !! the implementation does not match the stack effect      \ !! the implementation does not match the stack effect
     1+ >r      postpone over postpone = postpone ?of postpone drop ; immediate
     postpone over postpone = postpone if postpone drop  
     r> ; immediate  
   
 : endof ( compilation case-sys1 of-sys -- case-sys2 ; run-time  -- ) \ core-ext end-of  : endof ( compilation case-sys1 of-sys -- case-sys2 ; run-time  -- ) \ core-ext end-of
     >r postpone else r> ; immediate      >r postpone else r> ; immediate

Removed from v.1.67  
changed lines
  Added in v.1.68


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>