mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 22:09:26 +01:00
CGrammar: Oops, pointers are read right-to-left -- fixed const pointers again
This commit is contained in:
parent
861f095829
commit
987de3f38c
@ -13,7 +13,7 @@ use warnings;
|
||||
# These are set automatically by the build/commit script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 651,
|
||||
BUILD_REVISION => 652,
|
||||
BUILD_DATE => "2014-06-17",
|
||||
};
|
||||
|
||||
|
@ -1209,13 +1209,13 @@ identifier:
|
||||
pointer:
|
||||
'*' type_qualifier_list(s) pointer(?)
|
||||
{
|
||||
$return = join('', @{$item{'type_qualifier_list(s)'}}) . ' pointer to a ';
|
||||
$return .= ' ' . join('', @{$item{'pointer(?)'}}) if @{$item{'pointer(?)'}};
|
||||
$return = join('', @{$item{'pointer(?)'}}) if @{$item{'pointer(?)'}};
|
||||
$return .= ' ' . join('', @{$item{'type_qualifier_list(s)'}}) . ' pointer to a ';
|
||||
}
|
||||
| '*' pointer(?)
|
||||
{
|
||||
$return = join('', @{$item{'pointer(?)'}});
|
||||
$return .= ' pointer to a';
|
||||
$return .= ' ' . join('', @{$item{'pointer(?)'}});
|
||||
}
|
||||
|
||||
type_qualifier_list:
|
||||
|
Loading…
Reference in New Issue
Block a user