3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 05:49:27 +01:00

CGrammar: Add type_qualifier to specifier_qualifier_list (#20)

This commit is contained in:
Joey Pabalinas 2018-01-17 15:15:05 -10:00 committed by Pragmatic Software
parent c9f5696447
commit fc5f003465

View File

@ -1781,6 +1781,11 @@ specifier_qualifier_list:
$return = $item{type_specifier};
$return .= ' ' . join('', @{$item{'specifier_qualifier_list(?)'}}) if @{$item{'specifier_qualifier_list(?)'}};
}
| type_qualifier specifier_qualifier_list(?)
{
$return = $item{type_qualifier};
$return .= ' ' . join('', @{$item{'specifier_qualifier_list(?)'}}) if @{$item{'specifier_qualifier_list(?)'}};
}
struct_or_union:
comment(?) ('struct'