--- gforth/extend.fs 2002/12/04 10:42:58 1.47 +++ gforth/extend.fs 2003/01/20 17:07:37 1.52 @@ -25,7 +25,7 @@ decimal \ .( 12may93jaw -: .( ( compilation,interpretation "ccc" -- ) \ core-ext dot-paren +: .( ( compilation&interpretation "ccc" -- ) \ core-ext dot-paren \G Compilation and interpretation semantics: Parse a string @i{ccc} \G delimited by a @code{)} (right parenthesis). Display the \G string. This is often used to display progress information during @@ -236,7 +236,9 @@ variable span ( -- c-addr ) \ core-ext REPEAT drop \ remember udp - udp @ , ; + udp @ , + \ remember dyncode-ptr + here ['] noop , compile-prim1 finish-code ; : marker! ( mark -- ) \ reset included files count; resize will happen on next add-included-file @@ -263,6 +265,9 @@ variable span ( -- c-addr ) \ core-ext REPEAT drop \ restore udp and dp +[IFDEF] forget-dyncode + dup cell+ @ forget-dyncode 0= abort" gforth bug" +[THEN] @ udp ! dp ! \ clean up vocabulary stack 0 vp @ 0