3
0
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:
Pragmatic Software 2014-06-20 08:25:15 +00:00
parent 3f545cefdc
commit d7197b6bf6
2 changed files with 1 additions and 2 deletions

View File

@ -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",
}; };

View File

@ -1220,7 +1220,6 @@ storage_class_specifier:
type_qualifier: type_qualifier:
'const' 'const'
{ $return = "constant"; }
| 'volatile' | 'volatile'
type_specifier: type_specifier: