mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 20:09:43 +01:00
CGrammar: Add type_qualifier
to specifier_qualifier_list
(#20)
This commit is contained in:
parent
c9f5696447
commit
fc5f003465
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user