[mapserver-commits] r10447 - sandbox/sdlime/common-expressions/mapserver

svn at osgeo.org svn at osgeo.org
Sun Aug 8 01:06:39 EDT 2010


Author: sdlime
Date: 2010-08-08 05:06:39 +0000 (Sun, 08 Aug 2010)
New Revision: 10447

Modified:
   sandbox/sdlime/common-expressions/mapserver/maplexer.l
Log:
Changed case-insensitive string equality operator to use =* mimicing the regex version (~*).

Modified: sandbox/sdlime/common-expressions/mapserver/maplexer.l
===================================================================
--- sandbox/sdlime/common-expressions/mapserver/maplexer.l	2010-08-08 05:05:17 UTC (rev 10446)
+++ sandbox/sdlime/common-expressions/mapserver/maplexer.l	2010-08-08 05:06:39 UTC (rev 10447)
@@ -141,7 +141,7 @@
 <EXPRESSION_STRING>le|<=                       { return(MS_TOKEN_COMPARISON_LE); }
 <EXPRESSION_STRING>~                           { return(MS_TOKEN_COMPARISON_RE); }
 
-<EXPRESSION_STRING>ieq                         { return(MS_TOKEN_COMPARISON_IEQ); }
+<EXPRESSION_STRING>=\*                         { return(MS_TOKEN_COMPARISON_IEQ); }
 <EXPRESSION_STRING>~\*                         { return(MS_TOKEN_COMPARISON_IRE); }
 
 <EXPRESSION_STRING>in                          { return(IN); }



More information about the mapserver-commits mailing list