[Templates-cvs] cvs commit: Template2/lib/Template Grammar.pm
cvs@template-toolkit.org
cvs@template-toolkit.org
Fri, 24 Dec 2004 14:50:49 +0000
cvs 04/12/24 14:50:48
Modified: lib/Template Grammar.pm
Log:
* added eq, lt and gt operators to CMPOP but commented out
Revision Changes Path
2.23 +5 -2 Template2/lib/Template/Grammar.pm
Index: Grammar.pm
===================================================================
RCS file: /template-toolkit/Template2/lib/Template/Grammar.pm,v
retrieving revision 2.22
retrieving revision 2.23
diff -u -r2.22 -r2.23
--- Grammar.pm 2004/01/13 16:19:10 2.22
+++ Grammar.pm 2004/12/24 14:50:48 2.23
@@ -26,7 +26,7 @@
#
#------------------------------------------------------------------------
#
-# $Id: Grammar.pm,v 2.22 2004/01/13 16:19:10 abw Exp $
+# $Id: Grammar.pm,v 2.23 2004/12/24 14:50:48 abw Exp $
#
#========================================================================
@@ -37,7 +37,7 @@
use strict;
use vars qw( $VERSION );
-$VERSION = sprintf("%d.%02d", q$Revision: 2.22 $ =~ /(\d+)\.(\d+)/);
+$VERSION = sprintf("%d.%02d", q$Revision: 2.23 $ =~ /(\d+)\.(\d+)/);
my (@RESERVED, %CMPOP, $LEXTABLE, $RULES, $STATES);
my ($factory, $rawstart);
@@ -64,6 +64,9 @@
%CMPOP = qw(
!= ne
== eq
+# eq eq # uncomment these lines to enable the eq, lt and gt operators
+# lt lt
+# gt gt
< <
> >
>= >=