1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-04-09 16:40:38 +00:00

Make sure stack depth is decremented (and not pointer)

This commit is contained in:
David Schmenk 2018-01-15 14:27:11 -08:00
parent 90f0bb324c
commit b360a8af53

View File

@ -678,7 +678,7 @@ t_opseq *parse_value(t_opseq *codeseq, int rvalue, int *stackdepth)
return (NULL); // Function or const cannot be LVALUE, must be RVALUE
}
if (stackdepth)
*stackdepth--;
(*stackdepth)--;
}
return (cat_seq(codeseq, valseq));
}