From 8d38af0d696c9bdaabaa67289727bbbd1091f7ce Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Wed, 2 Jul 2014 18:04:22 +0000 Subject: [PATCH] CGrammar: Include preprocessor and comments in block items --- PBot/VERSION.pm | 2 +- modules/c2english/CGrammar.pm | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index 00967392..efcd8483 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 => 695, + BUILD_REVISION => 696, BUILD_DATE => "2014-07-02", }; diff --git a/modules/c2english/CGrammar.pm b/modules/c2english/CGrammar.pm index f56eb757..91ced927 100644 --- a/modules/c2english/CGrammar.pm +++ b/modules/c2english/CGrammar.pm @@ -169,6 +169,8 @@ block_item_list: block_item: declaration | statement + | preproc + | comment compound_statement: '{' block_item_list(s?) '}'