Fix ambiguity when parsing include_recursive

fixes #8166
This commit is contained in:
Gunnar Beutner 2015-01-07 17:22:29 +01:00
parent 54389cf324
commit acbf916506
1 changed files with 2 additions and 2 deletions

View File

@ -299,12 +299,12 @@ lterm_items: /* empty */
}
;
lterm_items_inner: lterm
lterm_items_inner: lterm %dprec 2
{
$$ = new std::vector<Expression *>();
$$->push_back($1);
}
| lterm_items_inner sep lterm
| lterm_items_inner sep lterm %dprec 1
{
if ($1)
$$ = $1;