Commit 905144b2 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

This is a table-generating #include

parent 8aba928c
......@@ -9,6 +9,7 @@ pkginclude_HEADERS = \
tbl/http_response.h \
tbl/locks.h \
tbl/steps.h \
tbl/symbol_kind.h \
tbl/vcc_types.h \
tbl/vcl_returns.h \
tbl/vrt_stv_var.h \
......
......@@ -9,7 +9,6 @@ libvcl_la_LDFLAGS = -avoid-version
libvcl_la_SOURCES = \
vcc_compile.h \
vcc_token_defs.h \
symbol_kind.h \
\
vcc_acl.c \
vcc_action.c \
......
......@@ -99,7 +99,7 @@ struct token {
enum symkind {
#define VCC_SYMB(uu, ll, dd) SYM_##uu,
#include "symbol_kind.h"
#include "tbl/symbol_kind.h"
#undef VCC_SYMB
};
......
......@@ -41,7 +41,7 @@ VCC_SymKind(struct vcc *tl, const struct symbol *s)
{
switch(s->kind) {
#define VCC_SYMB(uu, ll, dd) case SYM_##uu: return(dd);
#include "symbol_kind.h"
#include "tbl/symbol_kind.h"
#undef VCC_SYMB
default:
ErrInternal(tl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment