[gforth] / gforth / wf.fs  

gforth: gforth/wf.fs

Diff for /gforth/wf.fs between version 1.17 and 1.18

version 1.17, Mon Jan 20 19:17:59 2003 UTC version 1.18, Wed Jan 22 10:59:54 2003 UTC
Line 197 
Line 197 
   
 s" Gforth" environment? [IF] s" 0.5.0" str= [IF]  s" Gforth" environment? [IF] s" 0.5.0" str= [IF]
 : parse-string ( c-addr u -- ) \ core,block  : parse-string ( c-addr u -- ) \ core,block
     loadfilename 2@ 2>r      s" *evaluated string*" loadfilename>r
     s" *evaluated string*" loadfilename 2! \ "*evaluated string*"  
     push-file #tib ! >tib !      push-file #tib ! >tib !
     >in off blk off loadfile off -1 loadline !      >in off blk off loadfile off -1 loadline !
     ['] parse-line catch      ['] parse-line catch
     pop-file 2r> loadfilename 2! throw ;      pop-file r>loadfilename throw ;
 [ELSE]  [ELSE]
 : parse-string ( addr u -- )  : parse-string ( addr u -- )
     evaluate-input cell new-tib #tib ! tib !      evaluate-input cell new-tib #tib ! tib !


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help