--- gforth/prim 2001/02/27 21:17:10 1.76 +++ gforth/prim 2001/04/08 13:48:12 1.81 @@ -74,6 +74,10 @@ \ xt.* XT \ f83name.* F83Name * +\E stack data-stack sp Cell +\E stack fp-stack fp Float +\E stack return-stack rp Cell +\E \E get-current prefixes set-current \E \E s" Bool" single data-stack type-prefix f @@ -126,6 +130,7 @@ \ these m4 macros would collide with identifiers undefine(`index') undefine(`shift') +undefine(`symbols') noop ( -- ) gforth : @@ -1424,6 +1429,7 @@ cache."" FLUSH_ICACHE(c_addr,u); (bye) ( n -- ) gforth paren_bye +SUPER_END; return (Label *)n; (system) ( c_addr u -- wretval wior ) gforth peren_system @@ -2137,7 +2143,7 @@ Variable UP wcall ( u -- ) gforth IF_fpTOS(fp[0]=fpTOS); FP=fp; -sp=(SYSCALL(Cell(*)(Cell *, void *))u)(sp, &FP); +sp=(Cell*)(SYSCALL(Cell(*)(Cell *, void *))u)(sp, &FP); fp=FP; IF_spTOS(spTOS=sp[0];) IF_fpTOS(fpTOS=fp[0]); @@ -2345,6 +2351,8 @@ while(a_addr != NULL) \+ +\+peephole + primtable ( -- wprimtable ) new ""wprimtable is a table containing the xts of the primitives indexed by sequence-number in prim (for use in prepare-peephole-table)."" @@ -2371,5 +2379,4 @@ SET_IP((Xt *)a_callee); useraddr ( #u -- a_addr ) a_addr = (Cell *)(up+u); - - +\+