about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lr.c b/lr.c
index 17236c5..049b535 100644
--- a/lr.c
+++ b/lr.c
@@ -914,6 +914,7 @@ static struct expr *
 parse_expr(const char *s)
 {
 	pos = (char *)s;
+	ws();
 	struct expr *e = parse_cond();
 	if (*pos)
 		parse_error("trailing garbage at '%.15s'", pos);