Skip to content
Permalink
Browse files

Teach libvcc how to set STRING += STRING;

Refs #3100
  • Loading branch information...
Dridi committed Nov 5, 2019
1 parent 74298f6 commit ee29af937a898d549287125b96c66688c68a829e
Showing with 1 addition and 5 deletions.
  1. +0 −5 bin/varnishtest/tests/v00018.vtc
  2. +1 −0 lib/libvcc/vcc_action.c
@@ -27,11 +27,6 @@ varnish v1 -errvcl {Expected '=' got '+='} {
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'} {
backend b { .host = "127.0.0.1"; }
/* XXX: This should not really be an synth */
@@ -80,6 +80,7 @@ static const struct arith {
{ DURATION, T_DIV, REAL, "\v / " },
{ DURATION, '=', DURATION },
{ DURATION, 0, DURATION },
{ STRING, T_INCR, STRING, "\v,\n" },
{ VOID, '=', VOID }
};

0 comments on commit ee29af9

Please sign in to comment.
You can’t perform that action at this time.