Explorar o código

r.category: more specific parse error message

Markus Neteler %!s(int64=4) %!d(string=hai) anos
pai
achega
0d64c5da06
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      raster/r.category/main.c

+ 1 - 1
raster/r.category/main.c

@@ -213,7 +213,7 @@ int main(int argc, char *argv[])
 
 		if (parse_error)
 		    G_fatal_error(_("Incorrect format of input rules. "
-				    "Check separators. Invalid line is:\n%s"), buf);
+				    "Is the first column numeric? Or check separators. Invalid line is:\n%s"), buf);
 	    }
 	    G_free_tokens(tokens);
 	    Rast_write_cats(name, &cats);