aboutsummaryrefslogtreecommitdiff
path: root/py/grammar.h
diff options
context:
space:
mode:
authorDamien George2015-04-21 16:43:18 +0000
committerDamien George2015-04-21 16:43:18 +0000
commit4735c45c511bf29ecb422456ca2ab0437e3c4ef0 (patch)
tree140c2006ef672da83d4fcebfed156978bdd8ee6d /py/grammar.h
parentfa90ab1407c0de2ca1e51f7104f46cde7495d303 (diff)
py: Clean up some bits and pieces in parser, grammar.
Diffstat (limited to 'py/grammar.h')
-rw-r--r--py/grammar.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/py/grammar.h b/py/grammar.h
index 9bb5c384a..be12b7eb5 100644
--- a/py/grammar.h
+++ b/py/grammar.h
@@ -55,7 +55,6 @@ DEF_RULE(eval_input_2, nc, and(1), tok(NEWLINE))
// vfpdef: NAME
DEF_RULE(decorator, nc, and(4), tok(DEL_AT), rule(dotted_name), opt_rule(trailer_paren), tok(NEWLINE))
-//DEF_RULE(decorator_2, nc, and(3), tok(DEL_PAREN_OPEN), opt_rule(arglist), tok(DEL_PAREN_CLOSE))
DEF_RULE(decorators, nc, one_or_more, rule(decorator))
DEF_RULE(decorated, c(decorated), and(2), rule(decorators), rule(decorated_body))
DEF_RULE(decorated_body, nc, or(2), rule(classdef), rule(funcdef))