- bugfix large template text of some charsets could cause parsing errors (topic 24630)

This commit is contained in:
Uwe.Tews@googlemail.com
2014-06-17 20:24:20 +00:00
parent 0e1f7fdcfc
commit ee69f963c6
7 changed files with 707 additions and 618 deletions
@@ -2662,8 +2662,7 @@ class Smarty_Internal_Templateparser #line 80 "smarty_internal_templateparser.ph
if (isset(self::$yyExpectedTokens[$nextstate])) {
$expected = array_merge($expected, self::$yyExpectedTokens[$nextstate]);
if (in_array($token,
self::$yyExpectedTokens[$nextstate], true)
) {
self::$yyExpectedTokens[$nextstate], true)) {
$this->yyidx = $yyidx;
$this->yystack = $stack;