From 6efa66f12513e19fdbfb7b4199342113c2731512 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 20 Dec 2014 18:41:59 +0000 Subject: py: Remove unnecessary RULE_none and PN_none from parser. --- py/parse.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'py/parse.c') 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 -- cgit v1.2.3