I thought "semi-colon is optional at the end of the line" was a feature. :-)
-- http://develooper.com On Apr 26, 2009, at 8:55, Bill Moseley <[email protected]> wrote: > This surprised me a bit. I had a page with a validation error so I > looked at the template which had: > > [% > '<div class="login">'; > PROCESS login_form > '</div>'; > %] > > Obviously, I'm missing a semicolon on the PROCESS, but I'm a bit > surprised that didn't get caught by the parser. > > $ tpage > [% BLOCK foo; "in foo\n"; END; PROCESS foo; "after" %] > in foo > after > > > $ tpage > [% BLOCK foo; "in foo\n"; END; PROCESS foo "after" %] > in foo > > > > > -- > Bill Moseley > [email protected] > Sent from my iMutt > > > _______________________________________________ > 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
