CGrammar: Include preprocessor and comments in block items

This commit is contained in:
Pragmatic Software 2014-07-02 18:04:22 +00:00
parent 469e16ce28
commit 8d38af0d69
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -169,6 +169,8 @@ block_item_list:
block_item:
declaration
| statement
| preproc
| comment
compound_statement:
'{' block_item_list(s?) '}'