Commit ee29af93 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Teach libvcc how to set STRING += STRING;

Refs #3100
parent 74298f6a
...@@ -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 */
......
...@@ -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 }
}; };
......
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