Move backend names into src/benchmark.c

It's causing unreferenced-variable warnings, and isn't referenced
anywhere aside from benchmark.c. If client code is likely to reference
it, perhaps move it into another header, so people who include hammer.h
don't have to refer to it to have warning-free code.
This commit is contained in:
Steven Dee 2014-12-07 00:09:54 -05:00
parent 9faa4cf675
commit f2434d5b12
2 changed files with 8 additions and 8 deletions

View file

@ -46,14 +46,6 @@ typedef enum HParserBackend_ {
PB_MAX = PB_GLR
} HParserBackend;
static const char* HParserBackendNames[] = {
"Packrat",
"Regular",
"LL(k)",
"LALR",
"GLR"
};
typedef enum HTokenType_ {
// Before you change the explicit values of these, think of the poor bindings ;_;
TT_NONE = 1,