[gforth] / gforth / prims2x.fs  

gforth: gforth/prims2x.fs

Diff for /gforth/prims2x.fs between version 1.130 and 1.131

version 1.130, Thu Jan 30 16:14:31 2003 UTC version 1.131, Thu Jan 30 17:11:02 2003 UTC
Line 1331 
Line 1331 
 : checksynclines ( -- )  : checksynclines ( -- )
     \ when input points to a newline, check if the next line is a      \ when input points to a newline, check if the next line is a
     \ sync line.  If it is, perform the appropriate actions.      \ sync line.  If it is, perform the appropriate actions.
     begin      rawinput @ begin >r
         rawinput @ >r  
         s" #line " r@ over compare if          s" #line " r@ over compare if
             rdrop 1 line +! EXIT              rdrop 1 line +! EXIT
         endif          endif
Line 1344 
Line 1343 
         endif          endif
         dup c@ nl-char <> 0= s" sync line syntax" ?print-error          dup c@ nl-char <> 0= s" sync line syntax" ?print-error
         skipsynclines @ if          skipsynclines @ if
             dup char+ rawinput !              char+ dup rawinput !
             rawinput @ c@ cookedinput @ c!              rawinput @ c@ cookedinput @ c!
         endif          endif
         drop  
     again ;      again ;
   
 : ?nextchar ( f -- )  : ?nextchar ( f -- )


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help