py: Remove unnecessary RULE_none and PN_none from parser.

This commit is contained in:
Damien George
2014-12-20 18:41:59 +00:00
parent b47ea4eadd
commit 6efa66f125
3 changed files with 0 additions and 5 deletions

View File

@@ -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