Merge pull request #110 from mrdomino/move-unreferenced-var
Move backend names into src/benchmark.c
This commit is contained in:
commit
735131ee24
2 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue