version 1.1, 1997/05/21 20:39:23
|
version 1.3, 1998/12/08 22:02:39
|
Line 1
|
Line 1
|
\ Simple debugging aids |
\ Simple debugging aids |
|
|
\ Copyright (C) 1995 Free Software Foundation, Inc. |
\ Copyright (C) 1995,1997 Free Software Foundation, Inc. |
|
|
\ This file is part of Gforth. |
\ This file is part of Gforth. |
|
|
Line 51 defer printdebugline ( addr -- ) \ gfort
|
Line 51 defer printdebugline ( addr -- ) \ gfort
|
|
|
: (~~) ( -- ) |
: (~~) ( -- ) |
r@ printdebugline |
r@ printdebugline |
r> sourcepos drop + >r ; |
r> sourcepos %size + >r ; |
|
|
: ~~ ( compilation -- ; run-time -- ) \ gforth tilde-tilde |
: ~~ ( compilation -- ; run-time -- ) \ gforth tilde-tilde |
POSTPONE (~~) sourcepos, ; immediate |
POSTPONE (~~) sourcepos, ; immediate |