commit 49d80b46bb321ed42debd0013a35546a46f765c2
parent 91bb8ed7d6143bceab72214fcfaff7c1d55b07cc
Author: Evan Gates <evan.gates@gmail.com>
Date: Mon, 23 Feb 2015 17:47:19 -0800
add space for END token
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/find.c b/find.c
@@ -761,7 +761,7 @@ static void
parse(int argc, char **argv)
{
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;
size_t ntok = 0;
int print = 1;