aboutsummaryrefslogtreecommitdiff
path: root/src/ctemplates.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctemplates.c')
-rw-r--r--src/ctemplates.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ctemplates.c b/src/ctemplates.c
index b8d9931..8138f7c 100644
--- a/src/ctemplates.c
+++ b/src/ctemplates.c
@@ -456,6 +456,7 @@ TMPL_tokenize(const char* tmplstr, size_t m_strlen){
newnode = scan_tag(textcursor,m_strlen,&newlength);
newnode->type = ttype;
}
+ newnode->last = tokencursor;
tokencursor->next = newnode;
textcursor += newlength;
m_strlen -= newlength;