瀏覽代碼

r.category: more specific parse error message

Markus Neteler 4 年之前
父節點
當前提交
aa97bb701c
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);