switch (c->type)
{
case T_TYPE_TEXT:
- escape_luastr(buf, c->s, c->e - c->s, 0);
+ luastr_escape(buf, c->s, c->e - c->s, 0);
break;
case T_TYPE_EXPR:
break;
case T_TYPE_INCLUDE:
- escape_luastr(buf, c->s, c->e - c->s, 0);
+ luastr_escape(buf, c->s, c->e - c->s, 0);
break;
case T_TYPE_I18N:
- translate_luastr(buf, c->s, c->e - c->s, 1);
+ luastr_translate(buf, c->s, c->e - c->s, 1);
break;
case T_TYPE_I18N_RAW:
- translate_luastr(buf, c->s, c->e - c->s, 0);
+ luastr_translate(buf, c->s, c->e - c->s, 0);
break;
case T_TYPE_CODE:
int line = 0;
int chunkline = 0;
- fprintf(stderr, "E[%s]\n", err);
-
if ((ptr = strfind((char *)err, strlen(err), "]:", 2)) != NULL)
{
chunkline = atoi(ptr + 2) - parser->prv_chunk.line;