diff options
author | Damien George <damien.p.george@gmail.com> | 2014-12-20 18:41:59 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-12-20 18:41:59 +0000 |
commit | 6efa66f12513e19fdbfb7b4199342113c2731512 (patch) | |
tree | 742e5302e4eab86f7856ebd9db74e9140f30e481 /py/parse.c | |
parent | b47ea4eadd53374b74bf8fcbfa6580c89e2650f9 (diff) |
py: Remove unnecessary RULE_none and PN_none from parser.
Diffstat (limited to 'py/parse.c')
-rw-r--r-- | py/parse.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/py/parse.c b/py/parse.c index 07ceceeeb..ae1fe65e7 100644 --- a/py/parse.c +++ b/py/parse.c @@ -68,7 +68,6 @@ typedef struct _rule_t { } rule_t; enum { - RULE_none = 0, #define DEF_RULE(rule, comp, kind, ...) RULE_##rule, #include "grammar.h" #undef DEF_RULE @@ -105,7 +104,6 @@ enum { #undef DEF_RULE STATIC const rule_t *rules[] = { - NULL, #define DEF_RULE(rule, comp, kind, ...) &rule_##rule, #include "grammar.h" #undef DEF_RULE |