Ensure that delimiter changes appear in token list.

This commit is contained in:
Justin Hileman
2013-05-15 13:37:05 -07:00
parent 4588e04365
commit de9941d271
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -228,6 +228,11 @@ class Mustache_Tokenizer
$this->otag = $otag;
$this->ctag = $ctag;
$this->tokens[] = array(
self::TYPE => self::T_DELIM_CHANGE,
self::LINE => $this->line,
);
return $closeIndex + strlen($close) - 1;
}