Re: Weird parse error, can't locate it!!! help!

Ronald J Kimball <rkimball-jkI2qz8QNLsmlAP/[email protected]>
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Message-ID <CAEnkCGSn8bSv6ESoQ9PFtUNgckq9msxZhr0Dk4CsWFiqJwhrmw@mail.gmail.com>
On Thu, Apr 19, 2012 at 2:50 AM, Summer <crazysummer2004-/[email protected]> wrote:

> Template error: file error - parse error -
> home/section/data/generate.tt line 158: unexpected token (.)
>   [% $.trim %]
>
> This tt file has alot of TT code, obviously, and alot of JS. The ODD thing is that
> there is some jQuery I am using that is using $.trim, but no TT. Yet, the error parsed
> out like it is a TT declaration [% $.trim %] <-- weird.
>
> Anyone come across anything like this. Maybe there is an error in the file up or down
> in it somewhere and ???
>
>
What do you find when you look at line 158 of home/section/data/generate.tt?

Ronald

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.