[mapserver-commits] r8237 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Dec 10 22:48:52 EST 2008
Author: sdlime
Date: 2008-12-10 22:48:52 -0500 (Wed, 10 Dec 2008)
New Revision: 8237
Modified:
trunk/mapserver/maplexer.c
trunk/mapserver/maplexer.l
Log:
Lexer recognized VALIDATION keyword. (RFC 44)
Modified: trunk/mapserver/maplexer.c
===================================================================
--- trunk/mapserver/maplexer.c 2008-12-11 03:47:35 UTC (rev 8236)
+++ trunk/mapserver/maplexer.c 2008-12-11 03:48:52 UTC (rev 8237)
@@ -4221,7 +4221,7 @@
case EOB_ACT_END_OF_FILE:
{
if ( msyywrap( ) )
- return EOF;
+ return 0;
if ( ! (yy_did_buffer_switch_on_eof) )
YY_NEW_FILE;
Modified: trunk/mapserver/maplexer.l
===================================================================
--- trunk/mapserver/maplexer.l 2008-12-11 03:47:35 UTC (rev 8236)
+++ trunk/mapserver/maplexer.l 2008-12-11 03:48:52 UTC (rev 8237)
@@ -307,6 +307,7 @@
<INITIAL>transform { return(TRANSFORM); }
<INITIAL>type { return(TYPE); }
<INITIAL,URL_VARIABLE,URL_STRING>units { return(UNITS); }
+<INITIAL> { return(VALIDATION); }
<INITIAL,URL_VARIABLE>web { return(WEB); }
<INITIAL,URL_STRING>width { return(WIDTH); }
<INITIAL,URL_STRING>wkt { return(WKT); }
More information about the mapserver-commits
mailing list