[mapserver-commits] r11196 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Thu Mar 17 11:54:29 EDT 2011
Author: aboudreault
Date: 2011-03-17 08:54:29 -0700 (Thu, 17 Mar 2011)
New Revision: 11196
Modified:
trunk/mapserver/mapfile.c
Log:
Fixed getToken() for quoting ability
Modified: trunk/mapserver/mapfile.c
===================================================================
--- trunk/mapserver/mapfile.c 2011-03-17 15:48:10 UTC (rev 11195)
+++ trunk/mapserver/mapfile.c 2011-03-17 15:54:29 UTC (rev 11196)
@@ -60,6 +60,7 @@
extern char *msyybasepath;
extern int msyyreturncomments;
extern char *msyystring_buffer;
+extern char *msyytext;
extern char msyystring_icase;
extern int loadSymbol(symbolObj *s, char *symbolpath); /* in mapsymbol.c */
@@ -193,7 +194,7 @@
*/
static char *getToken(void) {
msyylex();
- return msStrdup(msyystring_buffer);
+ return msStrdup(msyytext);
}
/*
More information about the mapserver-commits
mailing list