Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
e94bcc96
Commit
e94bcc96
authored
Aug 03, 2020
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the generated vcc_types.h from include/tbl to lib/libvcc
parent
72370791
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
.gitignore
.gitignore
+1
-1
Makefile.am
include/Makefile.am
+0
-2
Makefile.am
lib/libvcc/Makefile.am
+2
-0
generate.py
lib/libvcc/generate.py
+1
-1
vcc_compile.h
lib/libvcc/vcc_compile.h
+1
-1
vcc_types.c
lib/libvcc/vcc_types.c
+2
-2
No files found.
.gitignore
View file @
e94bcc96
...
...
@@ -58,11 +58,11 @@ cscope.*out
/include/vmod_abi.h
/include/tbl/vcl_returns.h
/include/tbl/vrt_stv_var.h
/include/tbl/vcc_types.h
/include/vcs_version.h
/lib/libvcc/vcc_fixed_token.c
/lib/libvcc/vcc_obj.c
/lib/libvcc/vcc_token_defs.h
/lib/libvcc/vcc_types.h
/lib/libvarnishapi/vsl2rst
/lib/libvarnishapi/vxp_fixed_token.c
/lib/libvarnishapi/vxp_tokens.h
...
...
include/Makefile.am
View file @
e94bcc96
...
...
@@ -32,7 +32,6 @@ nobase_pkginclude_HEADERS = \
tbl/sess_close.h
\
tbl/steps.h
\
tbl/symbol_kind.h
\
tbl/vcc_types.h
\
tbl/vcl_returns.h
\
tbl/vcl_states.h
\
tbl/vhd_fsm.h
\
...
...
@@ -122,7 +121,6 @@ vcl.h: \
GEN_H
=
\
tbl/vrt_stv_var.h
\
tbl/vcl_returns.h
\
tbl/vcc_types.h
\
vrt_obj.h
$(GEN_H)
:
vcl.h
...
...
lib/libvcc/Makefile.am
View file @
e94bcc96
...
...
@@ -15,6 +15,7 @@ libvcc_a_SOURCES = \
vcc_compile.h
\
vcc_namespace.h
\
vcc_token_defs.h
\
vcc_types.h
\
vcc_acl.c
\
vcc_action.c
\
vcc_backend.c
\
...
...
@@ -56,6 +57,7 @@ vcc_obj.c: \
GEN_H
=
\
vcc_fixed_token.c
\
vcc_token_defs.h
\
vcc_types.h
\
tbl/vrt_stv_var.h
$(GEN_H)
:
vcc_obj.c
...
...
lib/libvcc/generate.py
View file @
e94bcc96
...
...
@@ -786,7 +786,7 @@ fo.write("\n}\n")
fo
.
close
()
#######################################################################
ft
=
open
(
join
(
buildroot
,
"
include/tbl
/vcc_types.h"
),
"w"
)
ft
=
open
(
join
(
buildroot
,
"
lib/libvcc
/vcc_types.h"
),
"w"
)
file_header
(
ft
)
lint_start
(
ft
)
...
...
lib/libvcc/vcc_compile.h
View file @
e94bcc96
...
...
@@ -116,7 +116,7 @@ struct type {
};
#define VCC_TYPE(UC, lc) extern const struct type UC[1];
#include "
tbl/
vcc_types.h"
#include "vcc_types.h"
/*---------------------------------------------------------------------*/
...
...
lib/libvcc/vcc_types.c
View file @
e94bcc96
...
...
@@ -224,7 +224,7 @@ VCC_Type(const char *p)
{
#define VCC_TYPE(UC, lc) if (!strcmp(p, #UC)) return (UC);
#include "
tbl/
vcc_types.h"
#include "vcc_types.h"
return
(
NULL
);
}
...
...
@@ -291,5 +291,5 @@ vcc_Type_Init(struct vcc *tl)
{
#define VCC_TYPE(UC, lc) vcc_type_init(tl, UC);
#include "
tbl/
vcc_types.h"
#include "vcc_types.h"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment