Fix a missing return value in the parser.
This commit is contained in:
1
parse.yy
1
parse.yy
@@ -1230,6 +1230,7 @@ direct_abstract_declarator
|
|||||||
{
|
{
|
||||||
Declarator *d = new Declarator(DK_FUNCTION, Union(@1, @3));
|
Declarator *d = new Declarator(DK_FUNCTION, Union(@1, @3));
|
||||||
if ($2 != NULL) d->functionParams = *$2;
|
if ($2 != NULL) d->functionParams = *$2;
|
||||||
|
$$ = d;
|
||||||
}
|
}
|
||||||
| direct_abstract_declarator '(' ')'
|
| direct_abstract_declarator '(' ')'
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user