[QGIS Commit] r14694 - trunk/qgis/src/analysis/raster

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Nov 17 03:33:09 EST 2010


Author: mhugent
Date: 2010-11-17 00:33:09 -0800 (Wed, 17 Nov 2010)
New Revision: 14694

Modified:
   trunk/qgis/src/analysis/raster/qgsrastercalclexer.ll
Log:
Allow hyphen in raster refercnes

Modified: trunk/qgis/src/analysis/raster/qgsrastercalclexer.ll
===================================================================
--- trunk/qgis/src/analysis/raster/qgsrastercalclexer.ll	2010-11-16 20:46:14 UTC (rev 14693)
+++ trunk/qgis/src/analysis/raster/qgsrastercalclexer.ll	2010-11-17 08:33:09 UTC (rev 14694)
@@ -45,7 +45,7 @@
 number  {num1}|{num2}
 
 non_ascii    [\x80-\xFF]
-raster_ref_char  [A-Za-z0-9_]|{non_ascii}
+raster_ref_char  [A-Za-z0-9_]|{non_ascii}|[-]
 raster_band_ref ({raster_ref_char}+)@{dig}
 
 %%



More information about the QGIS-commit mailing list