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
ee29af93
Commit
ee29af93
authored
Nov 05, 2019
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Teach libvcc how to set STRING += STRING;
Refs #3100
parent
74298f6a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
v00018.vtc
bin/varnishtest/tests/v00018.vtc
+0
-5
vcc_action.c
lib/libvcc/vcc_action.c
+1
-0
No files found.
bin/varnishtest/tests/v00018.vtc
View file @
ee29af93
...
@@ -27,11 +27,6 @@ varnish v1 -errvcl {Expected '=' got '+='} {
...
@@ -27,11 +27,6 @@ varnish v1 -errvcl {Expected '=' got '+='} {
sub vcl_backend_fetch { set bereq.backend += b; }
sub vcl_backend_fetch { set bereq.backend += b; }
}
}
varnish v1 -errvcl {Expected '=' got '+='} {
backend b { .host = "127.0.0.1"; }
sub vcl_recv { set req.url += now; }
}
varnish v1 -errvcl {Expected ';' got 'if'} {
varnish v1 -errvcl {Expected ';' got 'if'} {
backend b { .host = "127.0.0.1"; }
backend b { .host = "127.0.0.1"; }
/* XXX: This should not really be an synth */
/* XXX: This should not really be an synth */
...
...
lib/libvcc/vcc_action.c
View file @
ee29af93
...
@@ -80,6 +80,7 @@ static const struct arith {
...
@@ -80,6 +80,7 @@ static const struct arith {
{
DURATION
,
T_DIV
,
REAL
,
"
\v
/ "
},
{
DURATION
,
T_DIV
,
REAL
,
"
\v
/ "
},
{
DURATION
,
'='
,
DURATION
},
{
DURATION
,
'='
,
DURATION
},
{
DURATION
,
0
,
DURATION
},
{
DURATION
,
0
,
DURATION
},
{
STRING
,
T_INCR
,
STRING
,
"
\v
,
\n
"
},
{
VOID
,
'='
,
VOID
}
{
VOID
,
'='
,
VOID
}
};
};
...
...
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