Merge pull request #110 from mrdomino/move-unreferenced-var

Move backend names into src/benchmark.c
This commit is contained in:
Meredith L. Patterson 2014-12-07 22:20:03 +01:00
commit 735131ee24
2 changed files with 8 additions and 8 deletions

View file

@ -14,6 +14,14 @@
#include <sys/resource.h>
#endif
static const char* HParserBackendNames[] = {
"Packrat",
"Regular",
"LL(k)",
"LALR",
"GLR"
};
void h_benchmark_clock_gettime(struct timespec *ts) {
if (ts == NULL)
return;

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,