aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/template-parser.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/template-parser.c b/src/template-parser.c
index 99e17d3..ce7dc32 100644
--- a/src/template-parser.c
+++ b/src/template-parser.c
@@ -97,9 +97,7 @@ blogc_template_parse(const char *src, size_t src_len, blogc_error_t **err)
}
break;
}
- *err = blogc_error_parser(BLOGC_ERROR_TEMPLATE_PARSER, src,
- src_len, current,
- "Invalid statement syntax. Must be '%%' or '{'.");
+ state = TEMPLATE_START;
break;
case TEMPLATE_BLOCK_START: