[gforth] / gforth / kernel / paths.fs  

gforth: gforth/kernel/paths.fs

Diff for /gforth/kernel/paths.fs between version 1.17 and 1.18

version 1.17, Sat Sep 23 15:47:12 2000 UTC version 1.18, Sat Jan 5 20:16:18 2002 UTC
Line 64 
Line 64 
         2dup c! char+ swap move ;          2dup c! char+ swap move ;
 [THEN]  [THEN]
   
 create sourcepath 1024 chars , 0 , 1024 chars allot \ !! make this dynamic  \ create sourcepath 1024 chars , 0 , 1024 chars allot \ !! make this dynamic
 sourcepath avalue fpath ( -- path-addr ) \ gforth  0 avalue fpath ( -- path-addr ) \ gforth
   
   : os-cold ( -- )
       1024 chars dup 2 cells + allocate throw to fpath
       0 swap fpath 2!
       pathstring 2@ fpath only-path
       init-included-files ;
   
 \ The path Gforth uses for @code{included} and friends.  \ The path Gforth uses for @code{included} and friends.
   
 : also-path ( c-addr len path-addr -- ) \ gforth  : also-path ( c-addr len path-addr -- ) \ gforth


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