diff options
Diffstat (limited to 'src/parser/event_parser')
-rw-r--r-- | src/parser/event_parser/grammar/items.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/parser/event_parser/grammar/items.rs b/src/parser/event_parser/grammar/items.rs index 631eb4736..b6d260fd8 100644 --- a/src/parser/event_parser/grammar/items.rs +++ b/src/parser/event_parser/grammar/items.rs | |||
@@ -33,6 +33,14 @@ fn mod_item(p: &mut Parser) { | |||
33 | fn item(p: &mut Parser) -> bool { | 33 | fn item(p: &mut Parser) -> bool { |
34 | attributes::outer_attributes(p); | 34 | attributes::outer_attributes(p); |
35 | visibility(p); | 35 | visibility(p); |
36 | // node_if(p, USE_KW, USE_ITEM, use_item) | ||
37 | // || extern crate_fn | ||
38 | // || node_if(p, STATIC_KW, STATIC_ITEM, static_item) | ||
39 | // || node_if(p, CONST_KW, CONST_ITEM, const_item) or const FN! | ||
40 | // || unsafe trait, impl | ||
41 | // || node_if(p, FN_KW, FN_ITEM, fn_item) | ||
42 | // || node_if(p, MOD_KW, MOD_ITEM, mod_item) | ||
43 | // || node_if(p, TYPE_KW, TYPE_ITEM, type_item) | ||
36 | node_if(p, STRUCT_KW, STRUCT_ITEM, struct_item) | 44 | node_if(p, STRUCT_KW, STRUCT_ITEM, struct_item) |
37 | || node_if(p, FN_KW, FN_ITEM, fn_item) | 45 | || node_if(p, FN_KW, FN_ITEM, fn_item) |
38 | } | 46 | } |