diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2015-08-31 14:58:32 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2015-08-31 14:58:32 -0400 |
commit | 727c6cb64b83e1b65c4ef5d099b848478078c01f (patch) | |
tree | a9d77e32dae660b8ac24fa2de61761f1223f448a /bfs.c | |
parent | 8ad63e2c0f8a70b861f2d72e082ebbb5595043f3 (diff) | |
download | bfs-727c6cb64b83e1b65c4ef5d099b848478078c01f.tar.xz |
Fix parsing around ")".
Diffstat (limited to 'bfs.c')
-rw-r--r-- | bfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -467,7 +467,9 @@ static expression *parse_term(parser_state *state) { break; } - if (strcmp(arg, "-o") == 0 || strcmp(arg, "-or") == 0 || strcmp(arg, ",") == 0) { + if (strcmp(arg, "-o") == 0 || strcmp(arg, "-or") == 0 + || strcmp(arg, ",") == 0 + || strcmp(arg, ")") == 0) { break; } |