[gforth] / gforth / prims2x.fs  

gforth: gforth/prims2x.fs

Diff for /gforth/prims2x.fs between version 1.164 and 1.166

version 1.164, Sun Feb 18 18:30:51 2007 UTC version 1.166, Sat Feb 24 14:45:53 2007 UTC
Line 55 
Line 55 
 \ for backwards compatibility, jaw  \ for backwards compatibility, jaw
 require compat/strcomp.fs  require compat/strcomp.fs
   
   [undefined] outfile-execute [if]
       : outfile-execute ( ... xt file-id -- ... )
           \ unsafe replacement
           outfile-id >r to outfile-id execute r> to outfile-id ;
   [then]
   
 warnings off  warnings off
   
 \ redefinitions of kernel words not present in gforth-0.6.1  \ redefinitions of kernel words not present in gforth-0.6.1
Line 138 
Line 144 
     over - type cr      over - type cr
     line-start @ rawinput @ over - typewhite ." ^" cr ;      line-start @ rawinput @ over - typewhite ." ^" cr ;
   
   : print-error { addr u -- }
       filename 2@ type ." :" line @ 0 .r ." : " addr u type cr
       print-error-line ;
   
 : ?print-error { f addr u -- }  : ?print-error { f addr u -- }
     f ?not? if      f ?not? if
         stderr >outfile          addr u ['] print-error stderr outfile-execute
         filename 2@ type ." :" line @ 0 .r ." : " addr u type cr  
         print-error-line  
         outfile<  
         1 (bye) \ abort          1 (bye) \ abort
     endif ;      endif ;
   


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help