Fix #195; Catch Throwable exceptions;

This commit is contained in:
bzick
2016-02-23 13:16:48 +03:00
parent 46708c6195
commit 3766505e5c
3 changed files with 22 additions and 8 deletions

View File

@ -402,7 +402,7 @@ class Compiler
$tag["last"][] = false;
$tokens->next();
} else {
$tag["last"][] = $tag->tpl->parseScalar($tokens, false);
$tag["last"][] = $tag->tpl->parseScalar($tokens);
}
if ($tokens->is(',')) {
$tokens->next();