--- gforth/see.fs 2001/04/08 13:48:12 1.37 +++ gforth/see.fs 2002/12/04 10:42:59 1.42 @@ -271,7 +271,7 @@ VARIABLE C-Pass THEN ; : c-call - Display? IF dup @ body> .word bl cemit THEN cell+ ; + Display? IF ." call " dup @ body> .word bl cemit THEN cell+ ; : .name-without ( addr -- addr ) \ prints a name without () e.g. (+LOOP) or (s") @@ -445,9 +445,9 @@ VARIABLE C-Pass CREATE C-Table ' lit A, ' c-lit A, [IFDEF] call ' call A, ' c-call A, [THEN] - ' (s") A, ' c-c" A, - ' (.") A, ' c-c" A, - ' "lit A, ' c-c" A, +[IFDEF] (s") ' (s") A, ' c-c" A, [THEN] +[IFDEF] (.") ' (.") A, ' c-c" A, [THEN] +[IFDEF] "lit ' "lit A, ' c-c" A, [THEN] [IFDEF] (c") ' (c") A, ' c-c" A, [THEN] ' (do) A, ' c-do A, [IFDEF] (+do) ' (+do) A, ' c-do A, [THEN] @@ -464,7 +464,7 @@ CREATE C-Table [IFDEF] (-loop) ' (-loop) A, ' c-loop A, [THEN] ' (next) A, ' c-loop A, ' ;s A, ' c-exit A, - ' (abort") A, ' c-abort" A, +[IFDEF] (abort") ' (abort") A, ' c-abort" A, [THEN] \ only defined if compiler is loaded [IFDEF] (compile) ' (compile) A, ' c-(compile) A, [THEN] [IFDEF] (does>) ' (does>) A, ' c-does> A, [THEN] @@ -483,7 +483,7 @@ c-extender ! ( end!) 2drop false EXIT THEN THEN \ jump over to extender, if any 26jan97jaw - 2 pick <> + xt>threaded 2 pick <> WHILE 2 cells + REPEAT nip cell+ perform @@ -584,10 +584,7 @@ Defer discode ( addr u -- ) \ gforth : seecode ( xt -- ) dup s" Code" .defname - threading-method - if - >code-address - then + >code-address dup in-dictionary? \ user-defined code word? if dup next-head @@ -679,7 +676,7 @@ Defer discode ( addr u -- ) \ gforth if \ normal or immediate word swap xt-see (.immediate) else - r@ ['] compile-only-error = + r@ ['] ticking-compile-only-error = if \ compile-only word swap xt-see (.immediate) ." compile-only" else \ interpret/compile word