[mapserver-commits] r11195 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Mar 17 11:48:10 EDT 2011


Author: aboudreault
Date: 2011-03-17 08:48:10 -0700 (Thu, 17 Mar 2011)
New Revision: 11195

Modified:
   trunk/mapserver/maplexer.c
   trunk/mapserver/maplexer.l
Log:
Fixed LABELFORMAT DD: it's a special symbol

Modified: trunk/mapserver/maplexer.c
===================================================================
--- trunk/mapserver/maplexer.c	2011-03-17 15:01:46 UTC (rev 11194)
+++ trunk/mapserver/maplexer.c	2011-03-17 15:48:10 UTC (rev 11195)
@@ -2326,8 +2326,11 @@
          break;
        }
 
-#line 2330 "maplexer.c"
+       /* Used to get the proper error messages */
+       strcpy(msyystring_buffer, msyytext);
 
+#line 2333 "maplexer.c"
+
 	if ( !(yy_init) )
 		{
 		(yy_init) = 1;
@@ -2411,1452 +2414,1452 @@
 
 case 1:
 YY_RULE_SETUP
-#line 141 "maplexer.l"
+#line 144 "maplexer.l"
 ;
 	YY_BREAK
 case 2:
 YY_RULE_SETUP
-#line 143 "maplexer.l"
+#line 146 "maplexer.l"
 { if (msyyreturncomments) return(MS_COMMENT); }
 	YY_BREAK
 case 3:
 YY_RULE_SETUP
-#line 145 "maplexer.l"
+#line 148 "maplexer.l"
 ;
 	YY_BREAK
 case 4:
 YY_RULE_SETUP
-#line 147 "maplexer.l"
+#line 150 "maplexer.l"
 { return(MS_TOKEN_LOGICAL_OR); }
 	YY_BREAK
 case 5:
 YY_RULE_SETUP
-#line 148 "maplexer.l"
+#line 151 "maplexer.l"
 { return(MS_TOKEN_LOGICAL_AND); }
 	YY_BREAK
 case 6:
 YY_RULE_SETUP
-#line 149 "maplexer.l"
+#line 152 "maplexer.l"
 { return(MS_TOKEN_LOGICAL_NOT); }
 	YY_BREAK
 case 7:
 YY_RULE_SETUP
-#line 150 "maplexer.l"
+#line 153 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_EQ); }
 	YY_BREAK
 case 8:
 YY_RULE_SETUP
-#line 151 "maplexer.l"
+#line 154 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_NE); }
 	YY_BREAK
 case 9:
 YY_RULE_SETUP
-#line 152 "maplexer.l"
+#line 155 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_GT); }
 	YY_BREAK
 case 10:
 YY_RULE_SETUP
-#line 153 "maplexer.l"
+#line 156 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_LT); }
 	YY_BREAK
 case 11:
 YY_RULE_SETUP
-#line 154 "maplexer.l"
+#line 157 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_GE); }
 	YY_BREAK
 case 12:
 YY_RULE_SETUP
-#line 155 "maplexer.l"
+#line 158 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_LE); }
 	YY_BREAK
 case 13:
 YY_RULE_SETUP
-#line 156 "maplexer.l"
+#line 159 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_RE); }
 	YY_BREAK
 case 14:
 YY_RULE_SETUP
-#line 158 "maplexer.l"
+#line 161 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_IEQ); }
 	YY_BREAK
 case 15:
 YY_RULE_SETUP
-#line 159 "maplexer.l"
+#line 162 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_IRE); }
 	YY_BREAK
 case 16:
 YY_RULE_SETUP
-#line 161 "maplexer.l"
+#line 164 "maplexer.l"
 { return(IN); }
 	YY_BREAK
 case 17:
 YY_RULE_SETUP
-#line 163 "maplexer.l"
+#line 166 "maplexer.l"
 { return(MS_TOKEN_FUNCTION_AREA); }
 	YY_BREAK
 case 18:
 YY_RULE_SETUP
-#line 164 "maplexer.l"
+#line 167 "maplexer.l"
 { return(MS_TOKEN_FUNCTION_LENGTH); }
 	YY_BREAK
 case 19:
 YY_RULE_SETUP
-#line 165 "maplexer.l"
+#line 168 "maplexer.l"
 { return(MS_TOKEN_FUNCTION_TOSTRING); }
 	YY_BREAK
 case 20:
 YY_RULE_SETUP
-#line 166 "maplexer.l"
+#line 169 "maplexer.l"
 { return(MS_TOKEN_FUNCTION_COMMIFY); }
 	YY_BREAK
 case 21:
 YY_RULE_SETUP
-#line 167 "maplexer.l"
+#line 170 "maplexer.l"
 { return(MS_TOKEN_FUNCTION_ROUND); }
 	YY_BREAK
 case 22:
 YY_RULE_SETUP
-#line 169 "maplexer.l"
+#line 172 "maplexer.l"
 { return(MS_TOKEN_FUNCTION_BUFFER); }
 	YY_BREAK
 case 23:
 YY_RULE_SETUP
-#line 171 "maplexer.l"
+#line 174 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_INTERSECTS); }
 	YY_BREAK
 case 24:
 YY_RULE_SETUP
-#line 172 "maplexer.l"
+#line 175 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_DISJOINT); }
 	YY_BREAK
 case 25:
 YY_RULE_SETUP
-#line 173 "maplexer.l"
+#line 176 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_TOUCHES); }
 	YY_BREAK
 case 26:
 YY_RULE_SETUP
-#line 174 "maplexer.l"
+#line 177 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_OVERLAPS); }
 	YY_BREAK
 case 27:
 YY_RULE_SETUP
-#line 175 "maplexer.l"
+#line 178 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_CROSSES); }
 	YY_BREAK
 case 28:
 YY_RULE_SETUP
-#line 176 "maplexer.l"
+#line 179 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_WITHIN); }
 	YY_BREAK
 case 29:
 YY_RULE_SETUP
-#line 177 "maplexer.l"
+#line 180 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_CONTAINS); }
 	YY_BREAK
 case 30:
 YY_RULE_SETUP
-#line 178 "maplexer.l"
+#line 181 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_BEYOND); }
 	YY_BREAK
 case 31:
 YY_RULE_SETUP
-#line 179 "maplexer.l"
+#line 182 "maplexer.l"
 { return(MS_TOKEN_COMPARISON_DWITHIN); }
 	YY_BREAK
 case 32:
 YY_RULE_SETUP
-#line 181 "maplexer.l"
+#line 184 "maplexer.l"
 { return(MS_TOKEN_FUNCTION_FROMTEXT); }
 	YY_BREAK
 case 33:
 YY_RULE_SETUP
-#line 183 "maplexer.l"
+#line 186 "maplexer.l"
 { return(COLORRANGE); }
 	YY_BREAK
 case 34:
 YY_RULE_SETUP
-#line 184 "maplexer.l"
+#line 187 "maplexer.l"
 { return(DATARANGE); }
 	YY_BREAK
 case 35:
 YY_RULE_SETUP
-#line 185 "maplexer.l"
+#line 188 "maplexer.l"
 { return(RANGEITEM); }
 	YY_BREAK
 case 36:
 YY_RULE_SETUP
-#line 187 "maplexer.l"
+#line 190 "maplexer.l"
 { return(ALIGN); }
 	YY_BREAK
 case 37:
 YY_RULE_SETUP
-#line 188 "maplexer.l"
+#line 191 "maplexer.l"
 { return(ANGLE); }
 	YY_BREAK
 case 38:
 YY_RULE_SETUP
-#line 189 "maplexer.l"
+#line 192 "maplexer.l"
 { return(ANTIALIAS); }
 	YY_BREAK
 case 39:
 YY_RULE_SETUP
-#line 190 "maplexer.l"
+#line 193 "maplexer.l"
 { return(BACKGROUNDCOLOR); }
 	YY_BREAK
 case 40:
 YY_RULE_SETUP
-#line 191 "maplexer.l"
+#line 194 "maplexer.l"
 { return(BANDSITEM); }
 	YY_BREAK
 case 41:
 YY_RULE_SETUP
-#line 192 "maplexer.l"
+#line 195 "maplexer.l"
 { return(BINDVALS); }
 	YY_BREAK
 case 42:
 YY_RULE_SETUP
-#line 193 "maplexer.l"
+#line 196 "maplexer.l"
 { return(BROWSEFORMAT); }
 	YY_BREAK
 case 43:
 YY_RULE_SETUP
-#line 194 "maplexer.l"
+#line 197 "maplexer.l"
 { return(BUFFER); }
 	YY_BREAK
 case 44:
 YY_RULE_SETUP
-#line 195 "maplexer.l"
+#line 198 "maplexer.l"
 { return(CHARACTER); }
 	YY_BREAK
 case 45:
 YY_RULE_SETUP
-#line 196 "maplexer.l"
+#line 199 "maplexer.l"
 { return(CLASS); }
 	YY_BREAK
 case 46:
 YY_RULE_SETUP
-#line 197 "maplexer.l"
+#line 200 "maplexer.l"
 { return(CLASSITEM); }
 	YY_BREAK
 case 47:
 YY_RULE_SETUP
-#line 198 "maplexer.l"
+#line 201 "maplexer.l"
 { return(CLASSGROUP); }
 	YY_BREAK
 case 48:
 YY_RULE_SETUP
-#line 199 "maplexer.l"
+#line 202 "maplexer.l"
 { return(CLUSTER); }
 	YY_BREAK
 case 49:
 YY_RULE_SETUP
-#line 200 "maplexer.l"
+#line 203 "maplexer.l"
 { return(COLOR); }
 	YY_BREAK
 case 50:
 YY_RULE_SETUP
-#line 201 "maplexer.l"
+#line 204 "maplexer.l"
 { return(CONFIG); }
 	YY_BREAK
 case 51:
 YY_RULE_SETUP
-#line 202 "maplexer.l"
+#line 205 "maplexer.l"
 { return(CONNECTION); }
 	YY_BREAK
 case 52:
 YY_RULE_SETUP
-#line 203 "maplexer.l"
+#line 206 "maplexer.l"
 { return(CONNECTIONTYPE); }
 	YY_BREAK
 case 53:
 YY_RULE_SETUP
-#line 204 "maplexer.l"
+#line 207 "maplexer.l"
 { return(DATA); }
 	YY_BREAK
 case 54:
 YY_RULE_SETUP
-#line 205 "maplexer.l"
+#line 208 "maplexer.l"
 { return(DATAPATTERN); }
 	YY_BREAK
 case 55:
 YY_RULE_SETUP
-#line 206 "maplexer.l"
+#line 209 "maplexer.l"
 { return(DEBUG); }
 	YY_BREAK
 case 56:
 YY_RULE_SETUP
-#line 207 "maplexer.l"
+#line 210 "maplexer.l"
 { return(DRIVER); }
 	YY_BREAK
 case 57:
 YY_RULE_SETUP
-#line 208 "maplexer.l"
+#line 211 "maplexer.l"
 { return(DUMP); }
 	YY_BREAK
 case 58:
 YY_RULE_SETUP
-#line 209 "maplexer.l"
+#line 212 "maplexer.l"
 { return(EMPTY); }
 	YY_BREAK
 case 59:
 YY_RULE_SETUP
-#line 210 "maplexer.l"
+#line 213 "maplexer.l"
 { return(ENCODING); }
 	YY_BREAK
 case 60:
 YY_RULE_SETUP
-#line 211 "maplexer.l"
+#line 214 "maplexer.l"
 { return(END); }
 	YY_BREAK
 case 61:
 YY_RULE_SETUP
-#line 212 "maplexer.l"
+#line 215 "maplexer.l"
 { return(ERROR); }
 	YY_BREAK
 case 62:
 YY_RULE_SETUP
-#line 213 "maplexer.l"
+#line 216 "maplexer.l"
 { return(EXPRESSION); }
 	YY_BREAK
 case 63:
 YY_RULE_SETUP
-#line 214 "maplexer.l"
+#line 217 "maplexer.l"
 { return(EXTENT); }
 	YY_BREAK
 case 64:
 YY_RULE_SETUP
-#line 215 "maplexer.l"
+#line 218 "maplexer.l"
 { return(EXTENSION); }
 	YY_BREAK
 case 65:
 YY_RULE_SETUP
-#line 216 "maplexer.l"
+#line 219 "maplexer.l"
 { return(FEATURE); }
 	YY_BREAK
 case 66:
 YY_RULE_SETUP
-#line 217 "maplexer.l"
+#line 220 "maplexer.l"
 { return(FILLED); }
 	YY_BREAK
 case 67:
 YY_RULE_SETUP
-#line 218 "maplexer.l"
+#line 221 "maplexer.l"
 { return(FILTER); }
 	YY_BREAK
 case 68:
 YY_RULE_SETUP
-#line 219 "maplexer.l"
+#line 222 "maplexer.l"
 { return(FILTERITEM); }
 	YY_BREAK
 case 69:
 YY_RULE_SETUP
-#line 220 "maplexer.l"
+#line 223 "maplexer.l"
 { return(FOOTER); }
 	YY_BREAK
 case 70:
 YY_RULE_SETUP
-#line 221 "maplexer.l"
+#line 224 "maplexer.l"
 { return(FONT); }
 	YY_BREAK
 case 71:
 YY_RULE_SETUP
-#line 222 "maplexer.l"
+#line 225 "maplexer.l"
 { return(FONTSET); }
 	YY_BREAK
 case 72:
 YY_RULE_SETUP
-#line 223 "maplexer.l"
+#line 226 "maplexer.l"
 { return(FORCE); }
 	YY_BREAK
 case 73:
 YY_RULE_SETUP
-#line 224 "maplexer.l"
+#line 227 "maplexer.l"
 { return(FORMATOPTION); }
 	YY_BREAK
 case 74:
 YY_RULE_SETUP
-#line 225 "maplexer.l"
+#line 228 "maplexer.l"
 { return(FROM); }
 	YY_BREAK
 case 75:
 YY_RULE_SETUP
-#line 226 "maplexer.l"
+#line 229 "maplexer.l"
 { return(GAP); }
 	YY_BREAK
 case 76:
 YY_RULE_SETUP
-#line 227 "maplexer.l"
+#line 230 "maplexer.l"
 { return(GEOMTRANSFORM); }
 	YY_BREAK
 case 77:
 YY_RULE_SETUP
-#line 228 "maplexer.l"
+#line 231 "maplexer.l"
 { return(GRID); }
 	YY_BREAK
 case 78:
 YY_RULE_SETUP
-#line 229 "maplexer.l"
+#line 232 "maplexer.l"
 { return(GRATICULE); }
 	YY_BREAK
 case 79:
 YY_RULE_SETUP
-#line 230 "maplexer.l"
+#line 233 "maplexer.l"
 { return(GROUP); }
 	YY_BREAK
 case 80:
 YY_RULE_SETUP
-#line 231 "maplexer.l"
+#line 234 "maplexer.l"
 { return(HEADER); }
 	YY_BREAK
 case 81:
 YY_RULE_SETUP
-#line 232 "maplexer.l"
+#line 235 "maplexer.l"
 { return(IMAGE); }
 	YY_BREAK
 case 82:
 YY_RULE_SETUP
-#line 233 "maplexer.l"
+#line 236 "maplexer.l"
 { return(IMAGECOLOR); }
 	YY_BREAK
 case 83:
 YY_RULE_SETUP
-#line 234 "maplexer.l"
+#line 237 "maplexer.l"
 { return(IMAGETYPE); }
 	YY_BREAK
 case 84:
 YY_RULE_SETUP
-#line 235 "maplexer.l"
+#line 238 "maplexer.l"
 { return(IMAGEQUALITY); }
 	YY_BREAK
 case 85:
 YY_RULE_SETUP
-#line 236 "maplexer.l"
+#line 239 "maplexer.l"
 { return(IMAGEMODE); }
 	YY_BREAK
 case 86:
 YY_RULE_SETUP
-#line 237 "maplexer.l"
+#line 240 "maplexer.l"
 { return(IMAGEPATH); }
 	YY_BREAK
 case 87:
 YY_RULE_SETUP
-#line 238 "maplexer.l"
+#line 241 "maplexer.l"
 { return(TEMPPATH); }
 	YY_BREAK
 case 88:
 YY_RULE_SETUP
-#line 239 "maplexer.l"
+#line 242 "maplexer.l"
 { return(IMAGEURL); }
 	YY_BREAK
 case 89:
 YY_RULE_SETUP
-#line 240 "maplexer.l"
+#line 243 "maplexer.l"
 { BEGIN(INCLUDE); }
 	YY_BREAK
 case 90:
 YY_RULE_SETUP
-#line 241 "maplexer.l"
+#line 244 "maplexer.l"
 { return(INDEX); }
 	YY_BREAK
 case 91:
 YY_RULE_SETUP
-#line 242 "maplexer.l"
+#line 245 "maplexer.l"
 { return(INTERLACE); }
 	YY_BREAK
 case 92:
 YY_RULE_SETUP
-#line 243 "maplexer.l"
+#line 246 "maplexer.l"
 { return(INTERVALS); } 
 	YY_BREAK
 case 93:
 YY_RULE_SETUP
-#line 244 "maplexer.l"
+#line 247 "maplexer.l"
 { return(JOIN); }
 	YY_BREAK
 case 94:
 YY_RULE_SETUP
-#line 245 "maplexer.l"
+#line 248 "maplexer.l"
 { return(KEYIMAGE); }
 	YY_BREAK
 case 95:
 YY_RULE_SETUP
-#line 246 "maplexer.l"
+#line 249 "maplexer.l"
 { return(KEYSIZE); }
 	YY_BREAK
 case 96:
 YY_RULE_SETUP
-#line 247 "maplexer.l"
+#line 250 "maplexer.l"
 { return(KEYSPACING); }
 	YY_BREAK
 case 97:
 YY_RULE_SETUP
-#line 248 "maplexer.l"
+#line 251 "maplexer.l"
 { return(LABEL); }
 	YY_BREAK
 case 98:
 YY_RULE_SETUP
-#line 249 "maplexer.l"
+#line 252 "maplexer.l"
 { return(LABELCACHE); }
 	YY_BREAK
 case 99:
 YY_RULE_SETUP
-#line 250 "maplexer.l"
+#line 253 "maplexer.l"
 { return(LABELFORMAT); }
 	YY_BREAK
 case 100:
 YY_RULE_SETUP
-#line 251 "maplexer.l"
+#line 254 "maplexer.l"
 { return(LABELITEM); }
 	YY_BREAK
 case 101:
 YY_RULE_SETUP
-#line 252 "maplexer.l"
+#line 255 "maplexer.l"
 { return(LABELMAXSCALE); }
 	YY_BREAK
 case 102:
 YY_RULE_SETUP
-#line 253 "maplexer.l"
+#line 256 "maplexer.l"
 { return(LABELMAXSCALEDENOM); }
 	YY_BREAK
 case 103:
 YY_RULE_SETUP
-#line 254 "maplexer.l"
+#line 257 "maplexer.l"
 { return(LABELMINSCALE); }
 	YY_BREAK
 case 104:
 YY_RULE_SETUP
-#line 255 "maplexer.l"
+#line 258 "maplexer.l"
 { return(LABELMINSCALEDENOM); }
 	YY_BREAK
 case 105:
 YY_RULE_SETUP
-#line 256 "maplexer.l"
+#line 259 "maplexer.l"
 { return(LABELREQUIRES); }
 	YY_BREAK
 case 106:
 YY_RULE_SETUP
-#line 257 "maplexer.l"
+#line 260 "maplexer.l"
 { return(LATLON); }
 	YY_BREAK
 case 107:
 YY_RULE_SETUP
-#line 258 "maplexer.l"
+#line 261 "maplexer.l"
 { return(LAYER); }
 	YY_BREAK
 case 108:
 YY_RULE_SETUP
-#line 259 "maplexer.l"
+#line 262 "maplexer.l"
 { return(LEGEND); }
 	YY_BREAK
 case 109:
 YY_RULE_SETUP
-#line 260 "maplexer.l"
+#line 263 "maplexer.l"
 { return(LEGENDFORMAT); }
 	YY_BREAK
 case 110:
 YY_RULE_SETUP
-#line 261 "maplexer.l"
+#line 264 "maplexer.l"
 { return(LINECAP); }
 	YY_BREAK
 case 111:
 YY_RULE_SETUP
-#line 262 "maplexer.l"
+#line 265 "maplexer.l"
 { return(LINEJOIN); }
 	YY_BREAK
 case 112:
 YY_RULE_SETUP
-#line 263 "maplexer.l"
+#line 266 "maplexer.l"
 { return(LINEJOINMAXSIZE); }
 	YY_BREAK
 case 113:
 YY_RULE_SETUP
-#line 264 "maplexer.l"
+#line 267 "maplexer.l"
 { return(LOG); }
 	YY_BREAK
 case 114:
 YY_RULE_SETUP
-#line 265 "maplexer.l"
+#line 268 "maplexer.l"
 { return(MAP); }
 	YY_BREAK
 case 115:
 YY_RULE_SETUP
-#line 266 "maplexer.l"
+#line 269 "maplexer.l"
 { return(MARKER); }
 	YY_BREAK
 case 116:
 YY_RULE_SETUP
-#line 267 "maplexer.l"
+#line 270 "maplexer.l"
 { return(MARKERSIZE); }
 	YY_BREAK
 case 117:
 YY_RULE_SETUP
-#line 268 "maplexer.l"
+#line 271 "maplexer.l"
 { return(MAXARCS); }
 	YY_BREAK
 case 118:
 YY_RULE_SETUP
-#line 269 "maplexer.l"
+#line 272 "maplexer.l"
 { return(MAXBOXSIZE); }
 	YY_BREAK
 case 119:
 YY_RULE_SETUP
-#line 270 "maplexer.l"
+#line 273 "maplexer.l"
 { return(MAXDISTANCE); }
 	YY_BREAK
 case 120:
 YY_RULE_SETUP
-#line 271 "maplexer.l"
+#line 274 "maplexer.l"
 { return(MAXFEATURES); }
 	YY_BREAK
 case 121:
 YY_RULE_SETUP
-#line 272 "maplexer.l"
+#line 275 "maplexer.l"
 { return(MAXINTERVAL); }
 	YY_BREAK
 case 122:
 YY_RULE_SETUP
-#line 273 "maplexer.l"
+#line 276 "maplexer.l"
 { return(MAXSCALE); }
 	YY_BREAK
 case 123:
 YY_RULE_SETUP
-#line 274 "maplexer.l"
+#line 277 "maplexer.l"
 { return(MAXSCALEDENOM); }
 	YY_BREAK
 case 124:
 YY_RULE_SETUP
-#line 275 "maplexer.l"
+#line 278 "maplexer.l"
 { return(MAXGEOWIDTH); }
 	YY_BREAK
 case 125:
 YY_RULE_SETUP
-#line 276 "maplexer.l"
+#line 279 "maplexer.l"
 { return(MAXLENGTH); }
 	YY_BREAK
 case 126:
 YY_RULE_SETUP
-#line 277 "maplexer.l"
+#line 280 "maplexer.l"
 { return(MAXSIZE); }
 	YY_BREAK
 case 127:
 YY_RULE_SETUP
-#line 278 "maplexer.l"
+#line 281 "maplexer.l"
 { return(MAXSUBDIVIDE); }
 	YY_BREAK
 case 128:
 YY_RULE_SETUP
-#line 279 "maplexer.l"
+#line 282 "maplexer.l"
 { return(MAXTEMPLATE); }
 	YY_BREAK
 case 129:
 YY_RULE_SETUP
-#line 280 "maplexer.l"
+#line 283 "maplexer.l"
 { return(MAXWIDTH); }
 	YY_BREAK
 case 130:
 YY_RULE_SETUP
-#line 281 "maplexer.l"
+#line 284 "maplexer.l"
 { return(METADATA); }
 	YY_BREAK
 case 131:
 YY_RULE_SETUP
-#line 282 "maplexer.l"
+#line 285 "maplexer.l"
 { return(MIMETYPE); }
 	YY_BREAK
 case 132:
 YY_RULE_SETUP
-#line 283 "maplexer.l"
+#line 286 "maplexer.l"
 { return(MINARCS); }
 	YY_BREAK
 case 133:
 YY_RULE_SETUP
-#line 284 "maplexer.l"
+#line 287 "maplexer.l"
 { return(MINBOXSIZE); }
 	YY_BREAK
 case 134:
 YY_RULE_SETUP
-#line 285 "maplexer.l"
+#line 288 "maplexer.l"
 { return(MINDISTANCE); }
 	YY_BREAK
 case 135:
 YY_RULE_SETUP
-#line 286 "maplexer.l"
+#line 289 "maplexer.l"
 { return(REPEATDISTANCE); }
 	YY_BREAK
 case 136:
 YY_RULE_SETUP
-#line 287 "maplexer.l"
+#line 290 "maplexer.l"
 { return(MAXOVERLAPANGLE); } 
 	YY_BREAK
 case 137:
 YY_RULE_SETUP
-#line 288 "maplexer.l"
+#line 291 "maplexer.l"
 { return(MINFEATURESIZE); }
 	YY_BREAK
 case 138:
 YY_RULE_SETUP
-#line 289 "maplexer.l"
+#line 292 "maplexer.l"
 { return(MININTERVAL); }
 	YY_BREAK
 case 139:
 YY_RULE_SETUP
-#line 290 "maplexer.l"
+#line 293 "maplexer.l"
 { return(MINSCALE); }
 	YY_BREAK
 case 140:
 YY_RULE_SETUP
-#line 291 "maplexer.l"
+#line 294 "maplexer.l"
 { return(MINSCALEDENOM); }
 	YY_BREAK
 case 141:
 YY_RULE_SETUP
-#line 292 "maplexer.l"
+#line 295 "maplexer.l"
 { return(MINGEOWIDTH); }
 	YY_BREAK
 case 142:
 YY_RULE_SETUP
-#line 293 "maplexer.l"
+#line 296 "maplexer.l"
 { return(MINLENGTH); }
 	YY_BREAK
 case 143:
 YY_RULE_SETUP
-#line 294 "maplexer.l"
+#line 297 "maplexer.l"
 { return(MINSIZE); }
 	YY_BREAK
 case 144:
 YY_RULE_SETUP
-#line 295 "maplexer.l"
+#line 298 "maplexer.l"
 { return(MINSUBDIVIDE); }
 	YY_BREAK
 case 145:
 YY_RULE_SETUP
-#line 296 "maplexer.l"
+#line 299 "maplexer.l"
 { return(MINTEMPLATE); }
 	YY_BREAK
 case 146:
 YY_RULE_SETUP
-#line 297 "maplexer.l"
+#line 300 "maplexer.l"
 { return(MINWIDTH); }
 	YY_BREAK
 case 147:
 YY_RULE_SETUP
-#line 298 "maplexer.l"
+#line 301 "maplexer.l"
 { return(NAME); }
 	YY_BREAK
 case 148:
 YY_RULE_SETUP
-#line 299 "maplexer.l"
+#line 302 "maplexer.l"
 { return(OFFSET); }
 	YY_BREAK
 case 149:
 YY_RULE_SETUP
-#line 300 "maplexer.l"
+#line 303 "maplexer.l"
 { return(OFFSITE); }
 	YY_BREAK
 case 150:
 YY_RULE_SETUP
-#line 301 "maplexer.l"
+#line 304 "maplexer.l"
 { return(OPACITY); }
 	YY_BREAK
 case 151:
 YY_RULE_SETUP
-#line 302 "maplexer.l"
+#line 305 "maplexer.l"
 { return(OUTLINECOLOR); }
 	YY_BREAK
 case 152:
 YY_RULE_SETUP
-#line 303 "maplexer.l"
+#line 306 "maplexer.l"
 { return(OUTLINEWIDTH); }
 	YY_BREAK
 case 153:
 YY_RULE_SETUP
-#line 304 "maplexer.l"
+#line 307 "maplexer.l"
 { return(OUTPUTFORMAT); }
 	YY_BREAK
 case 154:
 YY_RULE_SETUP
-#line 305 "maplexer.l"
+#line 308 "maplexer.l"
 { return(OVERLAYBACKGROUNDCOLOR); }
 	YY_BREAK
 case 155:
 YY_RULE_SETUP
-#line 306 "maplexer.l"
+#line 309 "maplexer.l"
 { return(OVERLAYCOLOR); }
 	YY_BREAK
 case 156:
 YY_RULE_SETUP
-#line 307 "maplexer.l"
+#line 310 "maplexer.l"
 { return(OVERLAYMAXSIZE); }
 	YY_BREAK
 case 157:
 YY_RULE_SETUP
-#line 308 "maplexer.l"
+#line 311 "maplexer.l"
 { return(OVERLAYMINSIZE); }
 	YY_BREAK
 case 158:
 YY_RULE_SETUP
-#line 309 "maplexer.l"
+#line 312 "maplexer.l"
 { return(OVERLAYOUTLINECOLOR); }
 	YY_BREAK
 case 159:
 YY_RULE_SETUP
-#line 310 "maplexer.l"
+#line 313 "maplexer.l"
 { return(OVERLAYSIZE); }
 	YY_BREAK
 case 160:
 YY_RULE_SETUP
-#line 311 "maplexer.l"
+#line 314 "maplexer.l"
 { return(OVERLAYSYMBOL); }
 	YY_BREAK
 case 161:
 YY_RULE_SETUP
-#line 312 "maplexer.l"
+#line 315 "maplexer.l"
 { return(PARTIALS); }
 	YY_BREAK
 case 162:
 YY_RULE_SETUP
-#line 313 "maplexer.l"
+#line 316 "maplexer.l"
 { return(PATTERN); }
 	YY_BREAK
 case 163:
 YY_RULE_SETUP
-#line 314 "maplexer.l"
+#line 317 "maplexer.l"
 { return(POINTS); }
 	YY_BREAK
 case 164:
 YY_RULE_SETUP
-#line 315 "maplexer.l"
+#line 318 "maplexer.l"
 { return(ITEMS); }
 	YY_BREAK
 case 165:
 YY_RULE_SETUP
-#line 316 "maplexer.l"
+#line 319 "maplexer.l"
 { return(POSITION); }
 	YY_BREAK
 case 166:
 YY_RULE_SETUP
-#line 317 "maplexer.l"
+#line 320 "maplexer.l"
 { return(POSTLABELCACHE); }
 	YY_BREAK
 case 167:
 YY_RULE_SETUP
-#line 318 "maplexer.l"
+#line 321 "maplexer.l"
 { return(PRIORITY); }
 	YY_BREAK
 case 168:
 YY_RULE_SETUP
-#line 319 "maplexer.l"
+#line 322 "maplexer.l"
 { return(PROCESSING); }
 	YY_BREAK
 case 169:
 YY_RULE_SETUP
-#line 320 "maplexer.l"
+#line 323 "maplexer.l"
 { return(PROJECTION); }
 	YY_BREAK
 case 170:
 YY_RULE_SETUP
-#line 321 "maplexer.l"
+#line 324 "maplexer.l"
 { return(QUERYFORMAT); }
 	YY_BREAK
 case 171:
 YY_RULE_SETUP
-#line 322 "maplexer.l"
+#line 325 "maplexer.l"
 { return(QUERYMAP); }
 	YY_BREAK
 case 172:
 YY_RULE_SETUP
-#line 323 "maplexer.l"
+#line 326 "maplexer.l"
 { return(REFERENCE); }
 	YY_BREAK
 case 173:
 YY_RULE_SETUP
-#line 324 "maplexer.l"
+#line 327 "maplexer.l"
 { return(REGION); }
 	YY_BREAK
 case 174:
 YY_RULE_SETUP
-#line 325 "maplexer.l"
+#line 328 "maplexer.l"
 { return(RELATIVETO); }
 	YY_BREAK
 case 175:
 YY_RULE_SETUP
-#line 326 "maplexer.l"
+#line 329 "maplexer.l"
 { return(REQUIRES); }
 	YY_BREAK
 case 176:
 YY_RULE_SETUP
-#line 327 "maplexer.l"
+#line 330 "maplexer.l"
 { return(RESOLUTION); }
 	YY_BREAK
 case 177:
 YY_RULE_SETUP
-#line 328 "maplexer.l"
+#line 331 "maplexer.l"
 { return(DEFRESOLUTION); }
 	YY_BREAK
 case 178:
 YY_RULE_SETUP
-#line 329 "maplexer.l"
+#line 332 "maplexer.l"
 { return(SCALE); }
 	YY_BREAK
 case 179:
 YY_RULE_SETUP
-#line 330 "maplexer.l"
+#line 333 "maplexer.l"
 { return(SCALEDENOM); }
 	YY_BREAK
 case 180:
 YY_RULE_SETUP
-#line 331 "maplexer.l"
+#line 334 "maplexer.l"
 { return(SCALEBAR); }
 	YY_BREAK
 case 181:
 YY_RULE_SETUP
-#line 332 "maplexer.l"
+#line 335 "maplexer.l"
 { return(SHADOWCOLOR); }
 	YY_BREAK
 case 182:
 YY_RULE_SETUP
-#line 333 "maplexer.l"
+#line 336 "maplexer.l"
 { return(SHADOWSIZE); }
 	YY_BREAK
 case 183:
 YY_RULE_SETUP
-#line 334 "maplexer.l"
+#line 337 "maplexer.l"
 { return(SHAPEPATH); }
 	YY_BREAK
 case 184:
 YY_RULE_SETUP
-#line 335 "maplexer.l"
+#line 338 "maplexer.l"
 { return(SIZE); }
 	YY_BREAK
 case 185:
 YY_RULE_SETUP
-#line 336 "maplexer.l"
+#line 339 "maplexer.l"
 { return(SIZEUNITS); }
 	YY_BREAK
 case 186:
 YY_RULE_SETUP
-#line 337 "maplexer.l"
+#line 340 "maplexer.l"
 { return(STATUS); }
 	YY_BREAK
 case 187:
 YY_RULE_SETUP
-#line 338 "maplexer.l"
+#line 341 "maplexer.l"
 { return(STYLE); }
 	YY_BREAK
 case 188:
 YY_RULE_SETUP
-#line 339 "maplexer.l"
+#line 342 "maplexer.l"
 { return(STYLEITEM); }
 	YY_BREAK
 case 189:
 YY_RULE_SETUP
-#line 340 "maplexer.l"
+#line 343 "maplexer.l"
 { return(SYMBOL); }
 	YY_BREAK
 case 190:
 YY_RULE_SETUP
-#line 341 "maplexer.l"
+#line 344 "maplexer.l"
 { return(SYMBOLSCALE); }
 	YY_BREAK
 case 191:
 YY_RULE_SETUP
-#line 342 "maplexer.l"
+#line 345 "maplexer.l"
 { return(SYMBOLSCALEDENOM); }
 	YY_BREAK
 case 192:
 YY_RULE_SETUP
-#line 343 "maplexer.l"
+#line 346 "maplexer.l"
 { return(SYMBOLSET); }
 	YY_BREAK
 case 193:
 YY_RULE_SETUP
-#line 344 "maplexer.l"
+#line 347 "maplexer.l"
 { return(TABLE); }
 	YY_BREAK
 case 194:
 YY_RULE_SETUP
-#line 345 "maplexer.l"
+#line 348 "maplexer.l"
 { return(TEMPLATE); }
 	YY_BREAK
 case 195:
 YY_RULE_SETUP
-#line 346 "maplexer.l"
+#line 349 "maplexer.l"
 { return(TEMPLATEPATTERN); }
 	YY_BREAK
 case 196:
 YY_RULE_SETUP
-#line 347 "maplexer.l"
+#line 350 "maplexer.l"
 { return(TEXT); }
 	YY_BREAK
 case 197:
 YY_RULE_SETUP
-#line 348 "maplexer.l"
+#line 351 "maplexer.l"
 { return(TILEINDEX); }
 	YY_BREAK
 case 198:
 YY_RULE_SETUP
-#line 349 "maplexer.l"
+#line 352 "maplexer.l"
 { return(TILEITEM); }
 	YY_BREAK
 case 199:
 YY_RULE_SETUP
-#line 350 "maplexer.l"
+#line 353 "maplexer.l"
 { return(TITLE); }
 	YY_BREAK
 case 200:
 YY_RULE_SETUP
-#line 351 "maplexer.l"
+#line 354 "maplexer.l"
 { return(TO); }
 	YY_BREAK
 case 201:
 YY_RULE_SETUP
-#line 352 "maplexer.l"
+#line 355 "maplexer.l"
 { return(TOLERANCE); }
 	YY_BREAK
 case 202:
 YY_RULE_SETUP
-#line 353 "maplexer.l"
+#line 356 "maplexer.l"
 { return(TOLERANCEUNITS); }
 	YY_BREAK
 case 203:
 YY_RULE_SETUP
-#line 354 "maplexer.l"
+#line 357 "maplexer.l"
 { return(TRANSPARENCY); }
 	YY_BREAK
 case 204:
 YY_RULE_SETUP
-#line 355 "maplexer.l"
+#line 358 "maplexer.l"
 { return(TRANSPARENT); }
 	YY_BREAK
 case 205:
 YY_RULE_SETUP
-#line 356 "maplexer.l"
+#line 359 "maplexer.l"
 { return(TRANSFORM); }
 	YY_BREAK
 case 206:
 YY_RULE_SETUP
-#line 357 "maplexer.l"
+#line 360 "maplexer.l"
 { return(TYPE); }
 	YY_BREAK
 case 207:
 YY_RULE_SETUP
-#line 358 "maplexer.l"
+#line 361 "maplexer.l"
 { return(UNITS); }
 	YY_BREAK
 case 208:
 YY_RULE_SETUP
-#line 359 "maplexer.l"
+#line 362 "maplexer.l"
 { return(VALIDATION); }
 	YY_BREAK
 case 209:
 YY_RULE_SETUP
-#line 360 "maplexer.l"
+#line 363 "maplexer.l"
 { return(WEB); }
 	YY_BREAK
 case 210:
 YY_RULE_SETUP
-#line 361 "maplexer.l"
+#line 364 "maplexer.l"
 { return(WIDTH); }
 	YY_BREAK
 case 211:
 YY_RULE_SETUP
-#line 362 "maplexer.l"
+#line 365 "maplexer.l"
 { return(WKT); }
 	YY_BREAK
 case 212:
 YY_RULE_SETUP
-#line 363 "maplexer.l"
+#line 366 "maplexer.l"
 { return(WRAP); }
 	YY_BREAK
 case 213:
 YY_RULE_SETUP
-#line 365 "maplexer.l"
+#line 368 "maplexer.l"
 { return(MS_LAYER_ANNOTATION); }
 	YY_BREAK
 case 214:
 YY_RULE_SETUP
-#line 366 "maplexer.l"
+#line 369 "maplexer.l"
 { return(MS_AUTO); }
 	YY_BREAK
 case 215:
 YY_RULE_SETUP
-#line 367 "maplexer.l"
+#line 370 "maplexer.l"
 { return(MS_AUTO2); }
 	YY_BREAK
 case 216:
 YY_RULE_SETUP
-#line 368 "maplexer.l"
+#line 371 "maplexer.l"
 { return(MS_CJC_BEVEL); }
 	YY_BREAK
 case 217:
 YY_RULE_SETUP
-#line 369 "maplexer.l"
+#line 372 "maplexer.l"
 { return(MS_BITMAP); }
 	YY_BREAK
 case 218:
 YY_RULE_SETUP
-#line 370 "maplexer.l"
+#line 373 "maplexer.l"
 { return(MS_CJC_BUTT); }
 	YY_BREAK
 case 219:
 YY_RULE_SETUP
-#line 371 "maplexer.l"
+#line 374 "maplexer.l"
 { return(MS_SYMBOL_CARTOLINE); }
 	YY_BREAK
 case 220:
 YY_RULE_SETUP
-#line 372 "maplexer.l"
+#line 375 "maplexer.l"
 { return(MS_CC); }
 	YY_BREAK
 case 221:
 YY_RULE_SETUP
-#line 373 "maplexer.l"
+#line 376 "maplexer.l"
 { return(MS_ALIGN_CENTER); }
 	YY_BREAK
 case 222:
 YY_RULE_SETUP
-#line 374 "maplexer.l"
+#line 377 "maplexer.l"
 { return(MS_LAYER_CHART); }
 	YY_BREAK
 case 223:
 YY_RULE_SETUP
-#line 375 "maplexer.l"
+#line 378 "maplexer.l"
 { return(MS_LAYER_CIRCLE); }
 	YY_BREAK
 case 224:
 YY_RULE_SETUP
-#line 376 "maplexer.l"
+#line 379 "maplexer.l"
 { return(MS_CL); }
 	YY_BREAK
 case 225:
 YY_RULE_SETUP
-#line 377 "maplexer.l"
+#line 380 "maplexer.l"
 { return(MS_CR); }
 	YY_BREAK
 case 226:
 YY_RULE_SETUP
-#line 378 "maplexer.l"
+#line 381 "maplexer.l"
 { return(MS_DB_CSV); }
 	YY_BREAK
 case 227:
 YY_RULE_SETUP
-#line 379 "maplexer.l"
+#line 382 "maplexer.l"
 { return(MS_DB_POSTGRES); }
 	YY_BREAK
 case 228:
 YY_RULE_SETUP
-#line 380 "maplexer.l"
+#line 383 "maplexer.l"
 { return(MS_DEFAULT); }
 	YY_BREAK
 case 229:
 YY_RULE_SETUP
-#line 381 "maplexer.l"
-{ return(MS_DD); }
+#line 384 "maplexer.l"
+{ strcpy(msyystring_buffer, msyytext); return(MS_DD); }
 	YY_BREAK
 case 230:
 YY_RULE_SETUP
-#line 382 "maplexer.l"
+#line 385 "maplexer.l"
 { return(MS_SYMBOL_ELLIPSE); }
 	YY_BREAK
 case 231:
 YY_RULE_SETUP
-#line 383 "maplexer.l"
+#line 386 "maplexer.l"
 { return(MS_EMBED); }
 	YY_BREAK
 case 232:
 YY_RULE_SETUP
-#line 384 "maplexer.l"
+#line 387 "maplexer.l"
 { return(MS_FALSE); }
 	YY_BREAK
 case 233:
 YY_RULE_SETUP
-#line 385 "maplexer.l"
+#line 388 "maplexer.l"
 { return(MS_FEET); }
 	YY_BREAK
 case 234:
 YY_RULE_SETUP
-#line 386 "maplexer.l"
+#line 389 "maplexer.l"
 { return(MS_FOLLOW); }
 	YY_BREAK
 case 235:
 YY_RULE_SETUP
-#line 387 "maplexer.l"
+#line 390 "maplexer.l"
 { return(MS_GIANT); }
 	YY_BREAK
 case 236:
 YY_RULE_SETUP
-#line 388 "maplexer.l"
+#line 391 "maplexer.l"
 { return(MS_SYMBOL_HATCH); }
 	YY_BREAK
 case 237:
 YY_RULE_SETUP
-#line 389 "maplexer.l"
+#line 392 "maplexer.l"
 { return(MS_HILITE); }
 	YY_BREAK
 case 238:
 YY_RULE_SETUP
-#line 390 "maplexer.l"
+#line 393 "maplexer.l"
 { return(MS_INCHES); }
 	YY_BREAK
 case 239:
 YY_RULE_SETUP
-#line 391 "maplexer.l"
+#line 394 "maplexer.l"
 { return(MS_KILOMETERS); }
 	YY_BREAK
 case 240:
 YY_RULE_SETUP
-#line 392 "maplexer.l"
+#line 395 "maplexer.l"
 { return(MS_LARGE); }
 	YY_BREAK
 case 241:
 YY_RULE_SETUP
-#line 393 "maplexer.l"
+#line 396 "maplexer.l"
 { return(MS_LC); }
 	YY_BREAK
 case 242:
 YY_RULE_SETUP
-#line 394 "maplexer.l"
+#line 397 "maplexer.l"
 { return(MS_ALIGN_LEFT); }
 	YY_BREAK
 case 243:
 YY_RULE_SETUP
-#line 395 "maplexer.l"
+#line 398 "maplexer.l"
 { return(MS_LAYER_LINE); }
 	YY_BREAK
 case 244:
 YY_RULE_SETUP
-#line 396 "maplexer.l"
+#line 399 "maplexer.l"
 { return(MS_LL); }
 	YY_BREAK
 case 245:
 YY_RULE_SETUP
-#line 397 "maplexer.l"
+#line 400 "maplexer.l"
 { return(MS_LR); }
 	YY_BREAK
 case 246:
 YY_RULE_SETUP
-#line 398 "maplexer.l"
+#line 401 "maplexer.l"
 { return(MS_MEDIUM); }
 	YY_BREAK
 case 247:
 YY_RULE_SETUP
-#line 399 "maplexer.l"
+#line 402 "maplexer.l"
 { return(MS_METERS); }
 	YY_BREAK
 case 248:
 YY_RULE_SETUP
-#line 400 "maplexer.l"
+#line 403 "maplexer.l"
 { return(MS_NAUTICALMILES); }
 	YY_BREAK
 case 249:
 YY_RULE_SETUP
-#line 401 "maplexer.l"
+#line 404 "maplexer.l"
 { return(MS_MILES); }
 	YY_BREAK
 case 250:
 YY_RULE_SETUP
-#line 402 "maplexer.l"
+#line 405 "maplexer.l"
 { return(MS_CJC_MITER); }
 	YY_BREAK
 case 251:
 YY_RULE_SETUP
-#line 403 "maplexer.l"
+#line 406 "maplexer.l"
 { return(MS_MULTIPLE); }
 	YY_BREAK
 case 252:
 YY_RULE_SETUP
-#line 404 "maplexer.l"
+#line 407 "maplexer.l"
 { return(MS_CJC_NONE); }
 	YY_BREAK
 case 253:
 YY_RULE_SETUP
-#line 405 "maplexer.l"
+#line 408 "maplexer.l"
 { return(MS_NORMAL); }
 	YY_BREAK
 case 254:
 YY_RULE_SETUP
-#line 406 "maplexer.l"
+#line 409 "maplexer.l"
 { return(MS_OFF); }
 	YY_BREAK
 case 255:
 YY_RULE_SETUP
-#line 407 "maplexer.l"
+#line 410 "maplexer.l"
 { return(MS_OGR); }
 	YY_BREAK
 case 256:
 YY_RULE_SETUP
-#line 408 "maplexer.l"
+#line 411 "maplexer.l"
 { return(MS_ON); }
 	YY_BREAK
 case 257:
 YY_RULE_SETUP
-#line 409 "maplexer.l"
+#line 412 "maplexer.l"
 { return(MS_JOIN_ONE_TO_ONE); }
 	YY_BREAK
 case 258:
 YY_RULE_SETUP
-#line 410 "maplexer.l"
+#line 413 "maplexer.l"
 { return(MS_JOIN_ONE_TO_MANY); }
 	YY_BREAK
 case 259:
 YY_RULE_SETUP
-#line 411 "maplexer.l"
+#line 414 "maplexer.l"
 { return(MS_ORACLESPATIAL); }
 	YY_BREAK
 case 260:
 YY_RULE_SETUP
-#line 412 "maplexer.l"
+#line 415 "maplexer.l"
 { return(MS_PERCENTAGES); }
 	YY_BREAK
 case 261:
 YY_RULE_SETUP
-#line 413 "maplexer.l"
+#line 416 "maplexer.l"
 { return(MS_SYMBOL_PIXMAP); }
 	YY_BREAK
 case 262:
 YY_RULE_SETUP
-#line 414 "maplexer.l"
+#line 417 "maplexer.l"
 { return(MS_PIXELS); }
 	YY_BREAK
 case 263:
 YY_RULE_SETUP
-#line 415 "maplexer.l"
+#line 418 "maplexer.l"
 { return(MS_LAYER_POINT); }
 	YY_BREAK
 case 264:
 YY_RULE_SETUP
-#line 416 "maplexer.l"
+#line 419 "maplexer.l"
 { return(MS_LAYER_POLYGON); }
 	YY_BREAK
 case 265:
 YY_RULE_SETUP
-#line 417 "maplexer.l"
+#line 420 "maplexer.l"
 { return(MS_POSTGIS); }
 	YY_BREAK
 case 266:
 YY_RULE_SETUP
-#line 418 "maplexer.l"
+#line 421 "maplexer.l"
 { return(MS_PLUGIN); }
 	YY_BREAK
 case 267:
 YY_RULE_SETUP
-#line 419 "maplexer.l"
+#line 422 "maplexer.l"
 { return(MS_LAYER_QUERY); }
 	YY_BREAK
 case 268:
 YY_RULE_SETUP
-#line 420 "maplexer.l"
+#line 423 "maplexer.l"
 { return(MS_LAYER_RASTER); }
 	YY_BREAK
 case 269:
 YY_RULE_SETUP
-#line 421 "maplexer.l"
+#line 424 "maplexer.l"
 { return(MS_ALIGN_RIGHT); }
 	YY_BREAK
 case 270:
 YY_RULE_SETUP
-#line 422 "maplexer.l"
+#line 425 "maplexer.l"
 { return(MS_CJC_ROUND); }
 	YY_BREAK
 case 271:
 YY_RULE_SETUP
-#line 423 "maplexer.l"
+#line 426 "maplexer.l"
 { return(MS_SDE); }
 	YY_BREAK
 case 272:
 YY_RULE_SETUP
-#line 424 "maplexer.l"
+#line 427 "maplexer.l"
 { return(MS_SELECTED); }
 	YY_BREAK
 case 273:
 YY_RULE_SETUP
-#line 425 "maplexer.l"
+#line 428 "maplexer.l"
 { return(MS_SYMBOL_SIMPLE); }
 	YY_BREAK
 case 274:
 YY_RULE_SETUP
-#line 426 "maplexer.l"
+#line 429 "maplexer.l"
 { return(MS_SINGLE); }
 	YY_BREAK
 case 275:
 YY_RULE_SETUP
-#line 427 "maplexer.l"
+#line 430 "maplexer.l"
 { return(MS_SMALL); }
 	YY_BREAK
 case 276:
 YY_RULE_SETUP
-#line 428 "maplexer.l"
+#line 431 "maplexer.l"
 { return(MS_CJC_SQUARE); }
 	YY_BREAK
 case 277:
 YY_RULE_SETUP
-#line 429 "maplexer.l"
+#line 432 "maplexer.l"
 { return(MS_SYMBOL_SVG); }
 	YY_BREAK
 case 278:
 YY_RULE_SETUP
-#line 430 "maplexer.l"
+#line 433 "maplexer.l"
 { return(MS_TINY); }
 	YY_BREAK
 case 279:
 YY_RULE_SETUP
-#line 431 "maplexer.l"
+#line 434 "maplexer.l"
 { return(MS_CJC_TRIANGLE); }
 	YY_BREAK
 case 280:
 YY_RULE_SETUP
-#line 432 "maplexer.l"
+#line 435 "maplexer.l"
 { return(MS_TRUE); }
 	YY_BREAK
 case 281:
 YY_RULE_SETUP
-#line 433 "maplexer.l"
+#line 436 "maplexer.l"
 { return(MS_TRUETYPE); }
 	YY_BREAK
 case 282:
 YY_RULE_SETUP
-#line 434 "maplexer.l"
+#line 437 "maplexer.l"
 { return(MS_UC); }
 	YY_BREAK
 case 283:
 YY_RULE_SETUP
-#line 435 "maplexer.l"
+#line 438 "maplexer.l"
 { return(MS_UL); }
 	YY_BREAK
 case 284:
 YY_RULE_SETUP
-#line 436 "maplexer.l"
+#line 439 "maplexer.l"
 { return(MS_UR); }
 	YY_BREAK
 case 285:
 YY_RULE_SETUP
-#line 437 "maplexer.l"
+#line 440 "maplexer.l"
 { return(MS_UNION); }
 	YY_BREAK
 case 286:
 YY_RULE_SETUP
-#line 438 "maplexer.l"
+#line 441 "maplexer.l"
 { return(MS_SYMBOL_VECTOR); }
 	YY_BREAK
 case 287:
 YY_RULE_SETUP
-#line 439 "maplexer.l"
+#line 442 "maplexer.l"
 { return(MS_WFS); }
 	YY_BREAK
 case 288:
 YY_RULE_SETUP
-#line 440 "maplexer.l"
+#line 443 "maplexer.l"
 { return(MS_WMS); }
 	YY_BREAK
 case 289:
 YY_RULE_SETUP
-#line 441 "maplexer.l"
+#line 444 "maplexer.l"
 { return(MS_GD_ALPHA); }
 	YY_BREAK
 case 290:
 YY_RULE_SETUP
-#line 443 "maplexer.l"
+#line 446 "maplexer.l"
 {
                                                  msyytext++;
                                                  msyytext[strlen(msyytext)-1] = '\0';
@@ -3866,7 +3869,7 @@
 	YY_BREAK
 case 291:
 YY_RULE_SETUP
-#line 449 "maplexer.l"
+#line 452 "maplexer.l"
 {
                                                  msyytext++;
                                                  msyytext[strlen(msyytext)-1] = '\0';
@@ -3878,7 +3881,7 @@
 case 292:
 /* rule 292 can match eol */
 YY_RULE_SETUP
-#line 457 "maplexer.l"
+#line 460 "maplexer.l"
 {
                                                  msyytext++;
                                                  msyytext[strlen(msyytext)-1] = '\0';
@@ -3888,7 +3891,7 @@
 	YY_BREAK
 case 293:
 YY_RULE_SETUP
-#line 464 "maplexer.l"
+#line 467 "maplexer.l"
 { 
   /* attribute binding - shape (fixed value) */
   return(MS_TOKEN_BINDING_SHAPE);
@@ -3897,7 +3900,7 @@
 case 294:
 /* rule 294 can match eol */
 YY_RULE_SETUP
-#line 468 "maplexer.l"
+#line 471 "maplexer.l"
 {
   /* attribute binding - numeric (no quotes) */
   msyytext++;
@@ -3909,7 +3912,7 @@
 case 295:
 /* rule 295 can match eol */
 YY_RULE_SETUP
-#line 475 "maplexer.l"
+#line 478 "maplexer.l"
 {
   /* attribute binding - string (single or double quotes) */
   msyytext+=2;
@@ -3920,7 +3923,7 @@
 	YY_BREAK
 case 296:
 YY_RULE_SETUP
-#line 483 "maplexer.l"
+#line 486 "maplexer.l"
 {
   strcpy(msyystring_buffer,msyytext);
   msyynumber = atof(msyytext);
@@ -3929,7 +3932,7 @@
 	YY_BREAK
 case 297:
 YY_RULE_SETUP
-#line 489 "maplexer.l"
+#line 492 "maplexer.l"
 {
   strcpy(msyystring_buffer,msyytext);
   msyynumber = atof(msyytext);
@@ -3939,7 +3942,7 @@
 case 298:
 /* rule 298 can match eol */
 YY_RULE_SETUP
-#line 495 "maplexer.l"
+#line 498 "maplexer.l"
 {
   msyytext++;
   msyytext[strlen(msyytext)-1] = '\0';
@@ -3950,7 +3953,7 @@
 case 299:
 /* rule 299 can match eol */
 YY_RULE_SETUP
-#line 502 "maplexer.l"
+#line 505 "maplexer.l"
 {
                                                  msyytext++;
                                                  msyytext[strlen(msyytext)-2] = '\0';
@@ -3961,7 +3964,7 @@
 case 300:
 /* rule 300 can match eol */
 YY_RULE_SETUP
-#line 509 "maplexer.l"
+#line 512 "maplexer.l"
 {
                                                  msyytext++;
                                                  msyytext[strlen(msyytext)-1] = '\0';
@@ -3971,7 +3974,7 @@
 	YY_BREAK
 case 301:
 YY_RULE_SETUP
-#line 516 "maplexer.l"
+#line 519 "maplexer.l"
 {
                                                  msyytext++;
                                                  msyytext[strlen(msyytext)-1] = '\0';
@@ -3981,7 +3984,7 @@
 	YY_BREAK
 case 302:
 YY_RULE_SETUP
-#line 523 "maplexer.l"
+#line 526 "maplexer.l"
 {
                                                  msyystring_state = MS_STRING;
                                                  msyystring_begin = msyytext[0]; 
@@ -3992,7 +3995,7 @@
 	YY_BREAK
 case 303:
 YY_RULE_SETUP
-#line 531 "maplexer.l"
+#line 534 "maplexer.l"
 {
                                                 MS_LEXER_STRING_REALLOC(msyystring_buffer, msyystring_size, msyystring_buffer_size, msyystring_buffer_ptr);
                                                 if (msyystring_begin == msyytext[0]) {
@@ -4025,7 +4028,7 @@
 	YY_BREAK
 case 304:
 YY_RULE_SETUP
-#line 561 "maplexer.l"
+#line 564 "maplexer.l"
 { 
                                                 MS_LEXER_STRING_REALLOC(msyystring_buffer, msyystring_size, msyystring_buffer_size, msyystring_buffer_ptr);
                                                 ++msyystring_size;
@@ -4035,7 +4038,7 @@
 case 305:
 /* rule 305 can match eol */
 YY_RULE_SETUP
-#line 567 "maplexer.l"
+#line 570 "maplexer.l"
 {
                                                  char *yptr = msyytext;
                                                  while ( *yptr ) { 
@@ -4048,7 +4051,7 @@
 case 306:
 /* rule 306 can match eol */
 YY_RULE_SETUP
-#line 576 "maplexer.l"
+#line 579 "maplexer.l"
 {
                                                  msyytext++;
                                                  msyytext[strlen(msyytext)-1] = '\0';
@@ -4076,7 +4079,7 @@
 	YY_BREAK
 case 307:
 YY_RULE_SETUP
-#line 601 "maplexer.l"
+#line 604 "maplexer.l"
 {
                                                  msyystring_state = MS_TOKEN_LITERAL_STRING;
                                                  msyystring_begin = msyytext[0]; 
@@ -4087,17 +4090,17 @@
 	YY_BREAK
 case 308:
 YY_RULE_SETUP
-#line 609 "maplexer.l"
+#line 612 "maplexer.l"
 { strcpy(msyystring_buffer, msyytext); return(MS_STRING); }
 	YY_BREAK
 case 309:
 /* rule 309 can match eol */
 YY_RULE_SETUP
-#line 611 "maplexer.l"
+#line 614 "maplexer.l"
 { msyylineno++; }
 	YY_BREAK
 case YY_STATE_EOF(INITIAL):
-#line 613 "maplexer.l"
+#line 616 "maplexer.l"
 {
                                                   if( --include_stack_ptr < 0 )
                                                     return(EOF); /* end of main file */
@@ -4112,27 +4115,27 @@
 case 310:
 /* rule 310 can match eol */
 YY_RULE_SETUP
-#line 624 "maplexer.l"
+#line 627 "maplexer.l"
 {
   return(0); 
 }
 	YY_BREAK
 case 311:
 YY_RULE_SETUP
-#line 628 "maplexer.l"
-{ return(0); }
+#line 631 "maplexer.l"
+{ strcpy(msyystring_buffer, msyytext); return(0); }
 	YY_BREAK
 case 312:
 YY_RULE_SETUP
-#line 629 "maplexer.l"
+#line 632 "maplexer.l"
 { return(msyytext[0]); }
 	YY_BREAK
 case 313:
 YY_RULE_SETUP
-#line 630 "maplexer.l"
+#line 633 "maplexer.l"
 ECHO;
 	YY_BREAK
-#line 4136 "maplexer.c"
+#line 4139 "maplexer.c"
 case YY_STATE_EOF(URL_VARIABLE):
 case YY_STATE_EOF(URL_STRING):
 case YY_STATE_EOF(EXPRESSION_STRING):
@@ -5134,7 +5137,7 @@
 
 #define YYTABLES_NAME "yytables"
 
-#line 630 "maplexer.l"
+#line 633 "maplexer.l"
 
 
 

Modified: trunk/mapserver/maplexer.l
===================================================================
--- trunk/mapserver/maplexer.l	2011-03-17 15:01:46 UTC (rev 11194)
+++ trunk/mapserver/maplexer.l	2011-03-17 15:48:10 UTC (rev 11195)
@@ -138,6 +138,9 @@
          break;
        }
 
+       /* Used to get the proper error messages */
+       strcpy(msyystring_buffer, msyytext);
+
 <INITIAL,URL_STRING,EXPRESSION_STRING,INCLUDE>[ \t\r]+             ;
 
 <INITIAL>#.*                                   { if (msyyreturncomments) return(MS_COMMENT); }
@@ -378,7 +381,7 @@
 <INITIAL>csv                                   { return(MS_DB_CSV); }
 <INITIAL>postgresql                            { return(MS_DB_POSTGRES); }
 <INITIAL,URL_STRING>default                    { return(MS_DEFAULT); }
-<INITIAL,URL_STRING>dd                         { return(MS_DD); }
+<INITIAL,URL_STRING>dd                         { strcpy(msyystring_buffer, msyytext); return(MS_DD); }
 <INITIAL>ellipse                               { return(MS_SYMBOL_ELLIPSE); }
 <INITIAL,URL_STRING>embed                      { return(MS_EMBED); }
 <INITIAL,URL_STRING>false                      { return(MS_FALSE); }
@@ -528,7 +531,7 @@
                                                  BEGIN(MSSTRING);
                                               }
 
-<MSSTRING>\'|\"|\"i|\'i                               {
+<MSSTRING>\'|\"|\"i|\'i                       {
                                                 MS_LEXER_STRING_REALLOC(msyystring_buffer, msyystring_size, msyystring_buffer_size, msyystring_buffer_ptr);
                                                 if (msyystring_begin == msyytext[0]) {
                                                    if (msyystring_state == MS_TOKEN_LITERAL_STRING)
@@ -625,7 +628,7 @@
   return(0); 
 }
 
-<INITIAL,URL_VARIABLE,URL_STRING>.              { return(0); }
+<INITIAL,URL_VARIABLE,URL_STRING>.              { strcpy(msyystring_buffer, msyytext); return(0); }
 <EXPRESSION_STRING>.                            { return(msyytext[0]); }
 %%
 



More information about the mapserver-commits mailing list