I am not using INTERPOLATE on that particular file BUT we are using it in other 
files that get "compiled" at start. I did remove it and bingo, it built.

weird.

Thanks -- In relation to what "line" it is on, there was nothing but a JS curly 
brace on the line in question "}"

Thanks

--- On Thu, 4/19/12, Darren Chamberlain <d...@sevenroot.org> wrote:

From: Darren Chamberlain <d...@sevenroot.org>
Subject: Re: [Templates] Weird parse error, can't locate it!!! help!
To: templates@template-toolkit.org
Date: Thursday, April 19, 2012, 8:12 AM

On Thu, Apr 19, 2012 at 02:50, Summer <crazysummer2...@yahoo.com> 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.

Are you using INTERPOLATE ? That would make Template::Parser choke on
the $. token.

--
Darren Chamberlain <d...@sevenroot.org>

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates
_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to