Re: Weird parse error, can't locate it!!! help!
Summer <crazysummer2004-/[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> wrote: From: Darren Chamberlain <[email protected]> Subject: Re: [Templates] Weird parse error, can't locate it!!! help! To: [email protected] Date: Thursday, April 19, 2012, 8:12 AM On Thu, Apr 19, 2012 at 02:50, 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. Are you using INTERPOLATE ? That would make Template::Parser choke on the $. token. -- Darren Chamberlain <[email protected]> _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates