]> granicus.if.org Git - postgis/commitdiff
Added GEOMETRYCOLLECTION(EMPTY) support
authorSandro Santilli <strk@keybit.net>
Mon, 17 Jan 2005 12:15:39 +0000 (12:15 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 17 Jan 2005 12:15:39 +0000 (12:15 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1309 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/wktparse.y

index e39ecc54870c620cbdf56659cdee76dd60af6955..2b493788f01910c22157aaaa11ec486675b3ad42 100644 (file)
@@ -118,7 +118,7 @@ point_3d : VALUE VALUE VALUE {alloc_point_3d($1,$2,$3); };
 
 point_4d : VALUE VALUE VALUE VALUE {alloc_point_4d($1,$2,$3,$4); };
 
-empty : EMPTY  {alloc_empty(); } ;
+empty : EMPTY  {alloc_empty(); } | LPAREN EMPTY RPAREN {alloc_empty(); } ;
 %%