ficl: instead of pad, emit can use local variable
Pad in forth is used as "scratchpad" and internal implementations should not use it. Ficl does not really follow this rule and this can fire back. emit has no need to use pad, we can use local variable instead.
This commit is contained in:
parent
71df6a153f
commit
dba7640e44
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368261
@ -1015,7 +1015,7 @@ static void twoSwap(FICL_VM *pVM)
|
|||||||
|
|
||||||
static void emit(FICL_VM *pVM)
|
static void emit(FICL_VM *pVM)
|
||||||
{
|
{
|
||||||
char *cp = pVM->pad;
|
char cp[2];
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
#if FICL_ROBUST > 1
|
#if FICL_ROBUST > 1
|
||||||
|
Loading…
Reference in New Issue
Block a user