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

svn at osgeo.org svn at osgeo.org
Fri Jul 9 00:06:36 EDT 2010


Author: sdlime
Date: 2010-07-09 04:06:36 +0000 (Fri, 09 Jul 2010)
New Revision: 10323

Modified:
   sandbox/sdlime/common-expressions/mapserver/maplayer.c
Log:
Output msyytext in the debugging output when tokenizing...

Modified: sandbox/sdlime/common-expressions/mapserver/maplayer.c
===================================================================
--- sandbox/sdlime/common-expressions/mapserver/maplayer.c	2010-07-08 21:40:12 UTC (rev 10322)
+++ sandbox/sdlime/common-expressions/mapserver/maplayer.c	2010-07-09 04:06:36 UTC (rev 10323)
@@ -349,7 +349,7 @@
   fprintf(stderr, "string is %s\n", msyystring);
 
   while((token = msyylex()) != 0) { /* keep processing tokens until the end of the string (\0) */
-    fprintf(stderr, "%d: %d\n", n, token);
+    fprintf(stderr, "%d: %d >> %s <<\n", n, token, msyytext);
 
     switch(token) {
     case MS_NUMBER:



More information about the mapserver-commits mailing list