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 this.  Andy?

Mark.

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to