add space for END token

This commit is contained in:
Evan Gates 2015-02-23 17:47:19 -08:00 committed by sin
parent 91bb8ed7d6
commit 49d80b46bb

2
find.c
View File

@ -761,7 +761,7 @@ static void
parse(int argc, char **argv) parse(int argc, char **argv)
{ {
int lasttype = -1; int lasttype = -1;
Tok infix[2 * argc], *stack[argc], *tok, *rpn, *out, **top; Tok infix[2 * argc + 1], *stack[argc], *tok, *rpn, *out, **top;
char **arg; char **arg;
size_t ntok = 0; size_t ntok = 0;
int print = 1; int print = 1;