[GRASS-SVN] r57772 - grass/trunk/vector/v.mapcalc

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 20 19:06:30 PDT 2013


Author: hamish
Date: 2013-09-20 19:06:30 -0700 (Fri, 20 Sep 2013)
New Revision: 57772

Modified:
   grass/trunk/vector/v.mapcalc/v.mapcalc.y
Log:
missing ';'

Modified: grass/trunk/vector/v.mapcalc/v.mapcalc.y
===================================================================
--- grass/trunk/vector/v.mapcalc/v.mapcalc.y	2013-09-21 01:47:19 UTC (rev 57771)
+++ grass/trunk/vector/v.mapcalc/v.mapcalc.y	2013-09-21 02:06:30 UTC (rev 57772)
@@ -69,7 +69,7 @@
 	| numexp '-' numexp		{ $$ = $1 - $3; }
 	| numexp '*' numexp		{ $$ = $1 * $3; }
 	| numexp '/' numexp		{ NOTZERO ($3); $$ = $1 / $3; }
-	| '-' numexp %prec NEG		{ $$ = -$2 }
+	| '-' numexp %prec NEG		{ $$ = -$2; }
 	| numexp '^' numexp		{ NOTFRAC ($1, $3); $$ = pow ($1, $3); }
 	| numexp '%' numexp		{ NOTZERO ($3); $$ = fmod ($1, $3); }
 	| pntexp '%' pntexp		{ $$ = numop ('%', $1, $3); ERR; }



More information about the grass-commit mailing list