[gforth] / gforth / stuff.fs  

gforth: gforth/stuff.fs

Diff for /gforth/stuff.fs between version 1.24 and 1.25

version 1.24, Wed Jan 22 17:12:49 2003 UTC version 1.25, Wed Jan 22 18:52:47 2003 UTC
Line 129 
Line 129 
     repeat      repeat
     - + dup >r resize throw r> ;      - + dup >r resize throw r> ;
   
   \ ]] ... [[
   
   : compile-literal ( n -- )
       postpone literal ;
   
   : [[ ( -- )
   \G switch from postpone state to compile state
       \ this is only a marker; it is never really interpreted
       compile-only-error ; immediate
   
   : postponer ( c-addr u -- )
       2dup find-name dup if ( c-addr u nt )
           nip nip name>comp
           2dup [comp'] [[ d= if
               2drop ['] compiler is parser
           else
               postpone,
           endif
       else
           drop
           2dup snumber? dup if
               0> IF
                   swap postpone literal postpone compile-literal
               THEN
               postpone Literal postpone compile-literal
               2drop
           ELSE
               drop no.extensions
           THEN
       then ;
   
   : ]] ( -- )
       \ switch into postpone state
       ['] postponer is parser state on ; immediate restrict
   


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help