[Templates] minus operator next to number in template gives error

2004-08-17 Thread Bart Simpson
This gives "unexpected token" error [% myerr = var -1 # NO space between - and 1 %] Put space before 1 and works fine. [% myerr = var - 1 # works %] Just passing this along in case this was not intended. i'm using tt2 __ Do you Yahoo!? Y

Re: [Templates] minus operator next to number in template gives error

2004-08-20 Thread Mark Fowler
On Tue, 17 Aug 2004, Bart Simpson wrote: > This gives "unexpected token" error It's a limitation of the parser. We're looking for VAR OP NUMBER and we're getting VAR NUMBER as -1 is interpreted as 'negative 1' not 'the minus operator and positve 1' I'm sure the TT3 parser will cope with thi

Re: [Templates] minus operator next to number in template gives error

2004-08-20 Thread Andy Wardley
Mark Fowler wrote: > I'm sure the TT3 parser will cope with this. Andy? It does. A ___ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates

Re: [Templates] minus operator next to number in template gives error

2004-08-20 Thread Simon Wistow
On Fri, Aug 20, 2004 at 01:27:42PM +0100, Andy Wardley said: > Mark Fowler wrote: > > I'm sure the TT3 parser will cope with this. Andy? > > It does. Any chance of a TT3 status update? Anythign we can do to help? ___ templates mailing list [EMAIL P