3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

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 # These are set automatically by the build/commit script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 695, BUILD_REVISION => 696,
BUILD_DATE => "2014-07-02", BUILD_DATE => "2014-07-02",
}; };

View File

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