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

Don't quote the entire inlined C source in the index table, just show C{

Spotted by:	nkallen



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3346 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 31741471
......@@ -285,8 +285,12 @@ LocTable(const struct tokenlist *tl)
pos++;
}
Fc(tl, 0, " [%3u] = { %d, %8u, %4u, %3u, 0, \"%.*s\" },\n",
t->cnt, sp->idx, t->b - sp->b, lin, pos + 1, PF(t));
Fc(tl, 0, " [%3u] = { %d, %8u, %4u, %3u, 0, ",
t->cnt, sp->idx, t->b - sp->b, lin, pos + 1);
if (t->tok == CSRC)
Fc(tl, 0, " \"C{\"},\n");
else
Fc(tl, 0, " \"%.*s\" },\n", PF(t));
}
Fc(tl, 0, "};\n");
}
......
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