From acbf916506650aab6559b7ee99f4c8f8ecaf419a Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 7 Jan 2015 17:22:29 +0100 Subject: [PATCH] Fix ambiguity when parsing include_recursive fixes #8166 --- lib/config/config_parser.yy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config/config_parser.yy b/lib/config/config_parser.yy index 795bee373..8747f415f 100644 --- a/lib/config/config_parser.yy +++ b/lib/config/config_parser.yy @@ -299,12 +299,12 @@ lterm_items: /* empty */ } ; -lterm_items_inner: lterm +lterm_items_inner: lterm %dprec 2 { $$ = new std::vector(); $$->push_back($1); } - | lterm_items_inner sep lterm + | lterm_items_inner sep lterm %dprec 1 { if ($1) $$ = $1; -- 2.40.0