]> granicus.if.org Git - postgis/commitdiff
Fixed a bug killing the backend - lwg_parse_yyerror never called custom error handler
authorSandro Santilli <strk@keybit.net>
Mon, 7 Jun 2004 15:32:10 +0000 (15:32 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 7 Jun 2004 15:32:10 +0000 (15:32 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@599 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwgparse.c

index 69b3cd12de228117199378796c23c9dc8fe9d81f..e6d5dec65d88b119e9df367b40b9b2fce1c77bd5 100644 (file)
@@ -514,7 +514,7 @@ byte* make_lwgeom(){
 }
 
 int lwg_parse_yyerror(char* s){
-       error("parse error - invalid geometry");
+       error_func("parse error - invalid geometry");
        return 1;
 }