Commit ea55fc01 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove old bandaid from VCL1->VCL2 transition.

parent 298475eb
......@@ -275,17 +275,6 @@ parse_ban(struct vcc *tl)
/*--------------------------------------------------------------------*/
static void
parse_new_syntax(struct vcc *tl)
{
VSB_printf(tl->sb, "Please change \"%.*s\" to \"return(%.*s)\".\n",
PF(tl->t), PF(tl->t));
vcc_ErrWhere(tl, tl->t);
}
/*--------------------------------------------------------------------*/
static void
parse_hash_data(struct vcc *tl)
{
......@@ -379,11 +368,6 @@ static struct action_table {
VCL_MET_MISS | VCL_MET_LOOKUP | VCL_MET_BACKEND_RESPONSE
},
#define VCL_RET_MAC(l, U, B) \
{ #l, parse_new_syntax },
#include "tbl/vcl_returns.h"
#undef VCL_RET_MAC
/* Keep list sorted from here */
{ "call", parse_call },
{ "hash_data", parse_hash_data, VCL_MET_HASH },
......
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