From d7197b6bf6c98801e0d1663a11e9144c2cb3732d Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Fri, 20 Jun 2014 08:25:15 +0000 Subject: [PATCH] CGrammar: Replace "constant" with "const" since "constant" has a specific meaning in the C standard --- PBot/VERSION.pm | 2 +- modules/c2english/CGrammar.pm | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index 5084be3c..c32f5a4b 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,7 +13,7 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 658, + BUILD_REVISION => 659, BUILD_DATE => "2014-06-20", }; diff --git a/modules/c2english/CGrammar.pm b/modules/c2english/CGrammar.pm index 4079a142..a810ddca 100644 --- a/modules/c2english/CGrammar.pm +++ b/modules/c2english/CGrammar.pm @@ -1220,7 +1220,6 @@ storage_class_specifier: type_qualifier: 'const' - { $return = "constant"; } | 'volatile' type_specifier: