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:
Toomas Soome 2020-12-01 22:28:02 +00:00
parent 71df6a153f
commit dba7640e44

View File

@ -1015,7 +1015,7 @@ static void twoSwap(FICL_VM *pVM)
static void emit(FICL_VM *pVM)
{
char *cp = pVM->pad;
char cp[2];
int i;
#if FICL_ROBUST > 1