mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
CGrammar: Include preprocessor and comments in block items
This commit is contained in:
parent
469e16ce28
commit
8d38af0d69
@ -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",
|
||||
};
|
||||
|
||||
|
@ -169,6 +169,8 @@ block_item_list:
|
||||
block_item:
|
||||
declaration
|
||||
| statement
|
||||
| preproc
|
||||
| comment
|
||||
|
||||
compound_statement:
|
||||
'{' block_item_list(s?) '}'
|
||||
|
Loading…
Reference in New Issue
Block a user