libs/web: remove leftover debugging code in template_parser.c
This commit is contained in:
parent
bb276a7c7b
commit
cd0bb63394
1 changed files with 0 additions and 2 deletions
|
@ -350,8 +350,6 @@ int template_error(lua_State *L, struct template_parser *parser)
|
||||||
int line = 0;
|
int line = 0;
|
||||||
int chunkline = 0;
|
int chunkline = 0;
|
||||||
|
|
||||||
fprintf(stderr, "E[%s]\n", err);
|
|
||||||
|
|
||||||
if ((ptr = strfind((char *)err, strlen(err), "]:", 2)) != NULL)
|
if ((ptr = strfind((char *)err, strlen(err), "]:", 2)) != NULL)
|
||||||
{
|
{
|
||||||
chunkline = atoi(ptr + 2) - parser->prv_chunk.line;
|
chunkline = atoi(ptr + 2) - parser->prv_chunk.line;
|
||||||
|
|
Loading…
Reference in a new issue