[gforth] / gforth / debugs.fs  

gforth: gforth/debugs.fs

Diff for /gforth/debugs.fs between version 1.13 and 1.14

version 1.13, Sat Dec 31 15:46:08 2005 UTC version 1.14, Thu Dec 28 14:52:20 2006 UTC
Line 52 
Line 52 
   
 ' (.debugline) IS .debugline  ' (.debugline) IS .debugline
   
   : .debugline-stderr ( nfile nline -- )
       stderr >outfile .debugline outfile< ;
   
 :noname ( -- )  :noname ( -- )
     current-sourcepos .debugline ;      current-sourcepos .debugline-stderr ;
 :noname ( compilation  -- ; run-time  -- )  :noname ( compilation  -- ; run-time  -- )
     compile-sourcepos POSTPONE .debugline ;      compile-sourcepos POSTPONE .debugline-stderr ;
 interpret/compile: ~~ ( -- ) \ gforth tilde-tilde  interpret/compile: ~~ ( -- ) \ gforth tilde-tilde
 \G Prints the source code location of the @code{~~} and the stack  \G Prints the source code location of the @code{~~} and the stack
 \G contents with @code{.debugline}.  \G contents with @code{.debugline}.


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help