mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-02 00:49:26 +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
|
# 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",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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?) '}'
|
||||||
|
Loading…
Reference in New Issue
Block a user