[master] 697999c1e re-apply tools/coccinelle/vcc_skip_token.cocci
Nils Goroll
nils.goroll at uplex.de
Tue Feb 9 16:15:10 UTC 2021
commit 697999c1e84fbf585743015dbbf2195719aa234d
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Tue Feb 9 17:02:15 2021 +0100
re-apply tools/coccinelle/vcc_skip_token.cocci
diff --git a/lib/libvcc/vcc_action.c b/lib/libvcc/vcc_action.c
index 95c565d87..eb0458bc3 100644
--- a/lib/libvcc/vcc_action.c
+++ b/lib/libvcc/vcc_action.c
@@ -185,8 +185,7 @@ vcc_act_ban(struct vcc *tl, struct token *t, struct symbol *sym)
(void)t;
(void)sym;
- ExpectErr(tl, '(');
- vcc_NextToken(tl);
+ SkipToken(tl, '(');
Fb(tl, 1, "(void) VRT_ban_string(ctx, \n");
tl->indent += INDENT;
More information about the varnish-commit
mailing list