Smarty parser

"[email protected]" <[email protected]> Thu, 15 Dec 2005 19:14:43 +0100
Newsgroups gmane.comp.php.smarty.devel
Message-ID <[email protected]>
If I make the following mistake -

{foreach from=$foo item=$bar}

(Note the '$' in front of 'bar'.)

I get a php parser error on the next row after the last row of the 
parsed template (i.e. row 130 and the parsed template has only 129 rows).

Should not Smarty look for such errors or am I missing something?

It is quite an idiotic mistake, but when one is under stress, some help 
from Smarty would be welcome.

Smarty 2.6.10.

Iv

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php