From a8ec8e389166adc1231930028bf845da5f9f40ef Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 3 Jul 2016 03:59:29 +0200 Subject: template-parser: fixed error message --- src/template-parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/template-parser.c b/src/template-parser.c index 344e398..de6eb52 100644 --- a/src/template-parser.c +++ b/src/template-parser.c @@ -320,8 +320,8 @@ blogc_template_parse(const char *src, size_t src_len, blogc_error_t **err) *err = blogc_error_parser(BLOGC_ERROR_TEMPLATE_PARSER, src, src_len, current, "Invalid statement type: Allowed types are: 'block', " - "'endblock', 'ifdef', 'ifndef', 'endif', 'foreach' and " - "'endforeach'."); + "'endblock', 'ifdef', 'ifndef', 'else', 'endif', 'foreach' " + "and 'endforeach'."); break; case TEMPLATE_BLOCK_BLOCK_TYPE_START: -- cgit v1.2.3-18-g5258