ensure that we are in compiling mode in ;

This commit is contained in:
tocariimaa 2025-02-05 13:29:32 -03:00
parent 2296a83b9b
commit d188cb033d

4
pila.c
View file

@ -374,6 +374,10 @@ compile_anon_start_nat(RpnState *st)
void
compile_end_nat(RpnState *st)
{
if (!st->compiling) {
signal_error(st, "not in compiling mode");
return;
}
Word *w = malloc(sizeof(*w));
st->compiling = false;