mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-19 10:29:30 +01:00
CGrammar: Replace "constant" with "const" since "constant" has a specific meaning in the C standard
This commit is contained in:
parent
3f545cefdc
commit
d7197b6bf6
@ -13,7 +13,7 @@ use warnings;
|
|||||||
# These are set automatically by the build/commit script
|
# These are set automatically by the build/commit script
|
||||||
use constant {
|
use constant {
|
||||||
BUILD_NAME => "PBot",
|
BUILD_NAME => "PBot",
|
||||||
BUILD_REVISION => 658,
|
BUILD_REVISION => 659,
|
||||||
BUILD_DATE => "2014-06-20",
|
BUILD_DATE => "2014-06-20",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1220,7 +1220,6 @@ storage_class_specifier:
|
|||||||
|
|
||||||
type_qualifier:
|
type_qualifier:
|
||||||
'const'
|
'const'
|
||||||
{ $return = "constant"; }
|
|
||||||
| 'volatile'
|
| 'volatile'
|
||||||
|
|
||||||
type_specifier:
|
type_specifier:
|
||||||
|
Loading…
Reference in New Issue
Block a user