[gforth] / gforth / kernel / comp.fs  

gforth: gforth/kernel/comp.fs

Diff for /gforth/kernel/comp.fs between version 1.43 and 1.44

version 1.43, Sat Sep 14 08:20:21 2002 UTC version 1.44, Sun Nov 24 13:54:02 2002 UTC
Line 380 
Line 380 
   
 \ \ Strings                                                     22feb93py  \ \ Strings                                                     22feb93py
   
 : ," ( "string"<"> -- ) [char] " parse  : S, ( addr u -- )
   here over char+ allot  place align ;    here over char+ allot  place align ;
   
 : SLiteral ( Compilation c-addr1 u ; run-time -- c-addr2 u ) \ string  : ," ( "string"<"> -- )
     \G Compilation: compile the string specified by @i{c-addr1},      [char] " parse s, ;
     \G @i{u} into the current definition. Run-time: return  
     \G @i{c-addr2 u} describing the address and length of the  
     \G string.  
     postpone (S") here over char+ allot  place align ;  
                                              immediate restrict  
   
 \ \ abort"                                                      22feb93py  
   
 : abort" ( compilation 'ccc"' -- ; run-time f -- ) \ core,exception-ext abort-quote  
     \G If any bit of @i{f} is non-zero, perform the function of @code{-2 throw},  
     \G displaying the string @i{ccc} if there is no exception frame on the  
     \G exception stack.  
     postpone (abort") ," ;        immediate restrict  
   
 \ \ Header states                                               23feb93py  \ \ Header states                                               23feb93py
   


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help