1771{
1773
1774 int yyerrstatus = 0;
1775
1776
1777
1778
1779
1781
1782
1786
1787
1791
1792
1796
1797 int yyn;
1798
1799 int yyresult;
1800
1802
1803
1806
1807
1809
1810
1811 char yymsgbuf[128];
1812 char *yymsg = yymsgbuf;
1814
1815#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N), yylsp -= (N))
1816
1817
1818
1819 int yylen = 0;
1820
1821 YYDPRINTF ((stderr,
"Starting parse\n"));
1822
1824
1826 goto yysetstate;
1827
1828
1829
1830
1831
1832yynewstate:
1833
1834
1835 yyssp++;
1836
1837
1838
1839
1840
1841yysetstate:
1842 YYDPRINTF ((stderr,
"Entering state %d\n", yystate));
1848
1849 if (yyss + yystacksize - 1 <= yyssp)
1850#if !defined yyoverflow && !defined YYSTACK_RELOCATE
1852#else
1853 {
1854
1856
1857# if defined yyoverflow
1858 {
1859
1860
1861
1865
1866
1867
1868
1869
1870 yyoverflow (
YY_(
"memory exhausted"),
1871 &yyss1, yysize *
YYSIZEOF (*yyssp),
1872 &yyvs1, yysize *
YYSIZEOF (*yyvsp),
1873 &yyls1, yysize *
YYSIZEOF (*yylsp),
1874 &yystacksize);
1875 yyss = yyss1;
1876 yyvs = yyvs1;
1877 yyls = yyls1;
1878 }
1879# else
1880
1883 yystacksize *= 2;
1886
1887 {
1892 if (! yyptr)
1897# undef YYSTACK_RELOCATE
1898 if (yyss1 != yyssa)
1900 }
1901# endif
1902
1903 yyssp = yyss + yysize - 1;
1904 yyvsp = yyvs + yysize - 1;
1905 yylsp = yyls + yysize - 1;
1906
1908 YYDPRINTF ((stderr,
"Stack size increased to %ld\n",
1909 YY_CAST (
long, yystacksize)));
1911
1912 if (yyss + yystacksize - 1 <= yyssp)
1914 }
1915#endif
1916
1917
1920
1921 goto yybackup;
1922
1923
1924
1925
1926
1927yybackup:
1928
1929
1930
1931
1934 goto yydefault;
1935
1936
1937
1938
1940 {
1941 YYDPRINTF ((stderr,
"Reading a token\n"));
1943 }
1944
1946 {
1949 YYDPRINTF ((stderr,
"Now at end of input.\n"));
1950 }
1952 {
1953
1954
1955
1956
1959 yyerror_range[1] =
yylloc;
1960 goto yyerrlab1;
1961 }
1962 else
1963 {
1966 }
1967
1968
1969
1970 yyn += yytoken;
1972 goto yydefault;
1974 if (yyn <= 0)
1975 {
1977 goto yyerrlab;
1978 yyn = -yyn;
1979 goto yyreduce;
1980 }
1981
1982
1983
1984 if (yyerrstatus)
1985 yyerrstatus--;
1986
1987
1989 yystate = yyn;
1994
1995
1997 goto yynewstate;
1998
1999
2000
2001
2002
2003yydefault:
2005 if (yyn == 0)
2006 goto yyerrlab;
2007 goto yyreduce;
2008
2009
2010
2011
2012
2013yyreduce:
2014
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025 yyval = yyvsp[1-yylen];
2026
2027
2029 yyerror_range[1] = yyloc;
2031 switch (yyn)
2032 {
2033 case 2:
2034#line 218 "lwin_wkt_parse.y"
2036#line 2037 "lwin_wkt_parse.c"
2037 break;
2038
2039 case 3:
2040#line 220 "lwin_wkt_parse.y"
2042#line 2043 "lwin_wkt_parse.c"
2043 break;
2044
2045 case 4:
2046#line 223 "lwin_wkt_parse.y"
2048#line 2049 "lwin_wkt_parse.c"
2049 break;
2050
2051 case 5:
2052#line 224 "lwin_wkt_parse.y"
2054#line 2055 "lwin_wkt_parse.c"
2055 break;
2056
2057 case 6:
2058#line 225 "lwin_wkt_parse.y"
2060#line 2061 "lwin_wkt_parse.c"
2061 break;
2062
2063 case 7:
2064#line 226 "lwin_wkt_parse.y"
2066#line 2067 "lwin_wkt_parse.c"
2067 break;
2068
2069 case 8:
2070#line 227 "lwin_wkt_parse.y"
2072#line 2073 "lwin_wkt_parse.c"
2073 break;
2074
2075 case 9:
2076#line 228 "lwin_wkt_parse.y"
2078#line 2079 "lwin_wkt_parse.c"
2079 break;
2080
2081 case 10:
2082#line 229 "lwin_wkt_parse.y"
2084#line 2085 "lwin_wkt_parse.c"
2085 break;
2086
2087 case 11:
2088#line 230 "lwin_wkt_parse.y"
2090#line 2091 "lwin_wkt_parse.c"
2091 break;
2092
2093 case 12:
2094#line 231 "lwin_wkt_parse.y"
2096#line 2097 "lwin_wkt_parse.c"
2097 break;
2098
2099 case 13:
2100#line 232 "lwin_wkt_parse.y"
2102#line 2103 "lwin_wkt_parse.c"
2103 break;
2104
2105 case 14:
2106#line 233 "lwin_wkt_parse.y"
2108#line 2109 "lwin_wkt_parse.c"
2109 break;
2110
2111 case 15:
2112#line 234 "lwin_wkt_parse.y"
2114#line 2115 "lwin_wkt_parse.c"
2115 break;
2116
2117 case 16:
2118#line 235 "lwin_wkt_parse.y"
2120#line 2121 "lwin_wkt_parse.c"
2121 break;
2122
2123 case 17:
2124#line 236 "lwin_wkt_parse.y"
2126#line 2127 "lwin_wkt_parse.c"
2127 break;
2128
2129 case 18:
2130#line 237 "lwin_wkt_parse.y"
2132#line 2133 "lwin_wkt_parse.c"
2133 break;
2134
2135 case 19:
2136#line 241 "lwin_wkt_parse.y"
2138#line 2139 "lwin_wkt_parse.c"
2139 break;
2140
2141 case 20:
2142#line 243 "lwin_wkt_parse.y"
2144#line 2145 "lwin_wkt_parse.c"
2145 break;
2146
2147 case 21:
2148#line 245 "lwin_wkt_parse.y"
2150#line 2151 "lwin_wkt_parse.c"
2151 break;
2152
2153 case 22:
2154#line 247 "lwin_wkt_parse.y"
2156#line 2157 "lwin_wkt_parse.c"
2157 break;
2158
2159 case 23:
2160#line 251 "lwin_wkt_parse.y"
2162#line 2163 "lwin_wkt_parse.c"
2163 break;
2164
2165 case 24:
2166#line 253 "lwin_wkt_parse.y"
2168#line 2169 "lwin_wkt_parse.c"
2169 break;
2170
2171 case 25:
2172#line 257 "lwin_wkt_parse.y"
2174#line 2175 "lwin_wkt_parse.c"
2175 break;
2176
2177 case 26:
2178#line 259 "lwin_wkt_parse.y"
2180#line 2181 "lwin_wkt_parse.c"
2181 break;
2182
2183 case 27:
2184#line 261 "lwin_wkt_parse.y"
2186#line 2187 "lwin_wkt_parse.c"
2187 break;
2188
2189 case 28:
2190#line 263 "lwin_wkt_parse.y"
2192#line 2193 "lwin_wkt_parse.c"
2193 break;
2194
2195 case 29:
2196#line 267 "lwin_wkt_parse.y"
2198#line 2199 "lwin_wkt_parse.c"
2199 break;
2200
2201 case 30:
2202#line 269 "lwin_wkt_parse.y"
2204#line 2205 "lwin_wkt_parse.c"
2205 break;
2206
2207 case 31:
2208#line 271 "lwin_wkt_parse.y"
2210#line 2211 "lwin_wkt_parse.c"
2211 break;
2212
2213 case 32:
2214#line 273 "lwin_wkt_parse.y"
2216#line 2217 "lwin_wkt_parse.c"
2217 break;
2218
2219 case 33:
2220#line 275 "lwin_wkt_parse.y"
2222#line 2223 "lwin_wkt_parse.c"
2223 break;
2224
2225 case 34:
2226#line 277 "lwin_wkt_parse.y"
2228#line 2229 "lwin_wkt_parse.c"
2229 break;
2230
2231 case 35:
2232#line 281 "lwin_wkt_parse.y"
2234#line 2235 "lwin_wkt_parse.c"
2235 break;
2236
2237 case 36:
2238#line 283 "lwin_wkt_parse.y"
2240#line 2241 "lwin_wkt_parse.c"
2241 break;
2242
2243 case 37:
2244#line 285 "lwin_wkt_parse.y"
2246#line 2247 "lwin_wkt_parse.c"
2247 break;
2248
2249 case 38:
2250#line 287 "lwin_wkt_parse.y"
2252#line 2253 "lwin_wkt_parse.c"
2253 break;
2254
2255 case 39:
2256#line 291 "lwin_wkt_parse.y"
2258#line 2259 "lwin_wkt_parse.c"
2259 break;
2260
2261 case 40:
2262#line 293 "lwin_wkt_parse.y"
2264#line 2265 "lwin_wkt_parse.c"
2265 break;
2266
2267 case 41:
2268#line 295 "lwin_wkt_parse.y"
2270#line 2271 "lwin_wkt_parse.c"
2271 break;
2272
2273 case 42:
2274#line 297 "lwin_wkt_parse.y"
2276#line 2277 "lwin_wkt_parse.c"
2277 break;
2278
2279 case 43:
2280#line 301 "lwin_wkt_parse.y"
2282#line 2283 "lwin_wkt_parse.c"
2283 break;
2284
2285 case 44:
2286#line 303 "lwin_wkt_parse.y"
2288#line 2289 "lwin_wkt_parse.c"
2289 break;
2290
2291 case 45:
2292#line 305 "lwin_wkt_parse.y"
2294#line 2295 "lwin_wkt_parse.c"
2295 break;
2296
2297 case 46:
2298#line 307 "lwin_wkt_parse.y"
2300#line 2301 "lwin_wkt_parse.c"
2301 break;
2302
2303 case 47:
2304#line 311 "lwin_wkt_parse.y"
2306#line 2307 "lwin_wkt_parse.c"
2307 break;
2308
2309 case 48:
2310#line 313 "lwin_wkt_parse.y"
2312#line 2313 "lwin_wkt_parse.c"
2313 break;
2314
2315 case 49:
2316#line 317 "lwin_wkt_parse.y"
2318#line 2319 "lwin_wkt_parse.c"
2319 break;
2320
2321 case 50:
2322#line 319 "lwin_wkt_parse.y"
2324#line 2325 "lwin_wkt_parse.c"
2325 break;
2326
2327 case 51:
2328#line 323 "lwin_wkt_parse.y"
2330#line 2331 "lwin_wkt_parse.c"
2331 break;
2332
2333 case 52:
2334#line 325 "lwin_wkt_parse.y"
2336#line 2337 "lwin_wkt_parse.c"
2337 break;
2338
2339 case 53:
2340#line 327 "lwin_wkt_parse.y"
2342#line 2343 "lwin_wkt_parse.c"
2343 break;
2344
2345 case 54:
2346#line 329 "lwin_wkt_parse.y"
2348#line 2349 "lwin_wkt_parse.c"
2349 break;
2350
2351 case 55:
2352#line 333 "lwin_wkt_parse.y"
2354#line 2355 "lwin_wkt_parse.c"
2355 break;
2356
2357 case 56:
2358#line 335 "lwin_wkt_parse.y"
2360#line 2361 "lwin_wkt_parse.c"
2361 break;
2362
2363 case 57:
2364#line 338 "lwin_wkt_parse.y"
2366#line 2367 "lwin_wkt_parse.c"
2367 break;
2368
2369 case 58:
2370#line 342 "lwin_wkt_parse.y"
2372#line 2373 "lwin_wkt_parse.c"
2373 break;
2374
2375 case 59:
2376#line 344 "lwin_wkt_parse.y"
2378#line 2379 "lwin_wkt_parse.c"
2379 break;
2380
2381 case 60:
2382#line 346 "lwin_wkt_parse.y"
2384#line 2385 "lwin_wkt_parse.c"
2385 break;
2386
2387 case 61:
2388#line 348 "lwin_wkt_parse.y"
2390#line 2391 "lwin_wkt_parse.c"
2391 break;
2392
2393 case 62:
2394#line 352 "lwin_wkt_parse.y"
2396#line 2397 "lwin_wkt_parse.c"
2397 break;
2398
2399 case 63:
2400#line 354 "lwin_wkt_parse.y"
2402#line 2403 "lwin_wkt_parse.c"
2403 break;
2404
2405 case 64:
2406#line 357 "lwin_wkt_parse.y"
2408#line 2409 "lwin_wkt_parse.c"
2409 break;
2410
2411 case 65:
2412#line 358 "lwin_wkt_parse.y"
2414#line 2415 "lwin_wkt_parse.c"
2415 break;
2416
2417 case 66:
2418#line 359 "lwin_wkt_parse.y"
2420#line 2421 "lwin_wkt_parse.c"
2421 break;
2422
2423 case 67:
2424#line 360 "lwin_wkt_parse.y"
2426#line 2427 "lwin_wkt_parse.c"
2427 break;
2428
2429 case 68:
2430#line 364 "lwin_wkt_parse.y"
2432#line 2433 "lwin_wkt_parse.c"
2433 break;
2434
2435 case 69:
2436#line 366 "lwin_wkt_parse.y"
2438#line 2439 "lwin_wkt_parse.c"
2439 break;
2440
2441 case 70:
2442#line 370 "lwin_wkt_parse.y"
2444#line 2445 "lwin_wkt_parse.c"
2445 break;
2446
2447 case 71:
2448#line 372 "lwin_wkt_parse.y"
2450#line 2451 "lwin_wkt_parse.c"
2451 break;
2452
2453 case 72:
2454#line 375 "lwin_wkt_parse.y"
2456#line 2457 "lwin_wkt_parse.c"
2457 break;
2458
2459 case 73:
2460#line 378 "lwin_wkt_parse.y"
2462#line 2463 "lwin_wkt_parse.c"
2463 break;
2464
2465 case 74:
2466#line 382 "lwin_wkt_parse.y"
2468#line 2469 "lwin_wkt_parse.c"
2469 break;
2470
2471 case 75:
2472#line 384 "lwin_wkt_parse.y"
2474#line 2475 "lwin_wkt_parse.c"
2475 break;
2476
2477 case 76:
2478#line 386 "lwin_wkt_parse.y"
2480#line 2481 "lwin_wkt_parse.c"
2481 break;
2482
2483 case 77:
2484#line 388 "lwin_wkt_parse.y"
2486#line 2487 "lwin_wkt_parse.c"
2487 break;
2488
2489 case 78:
2490#line 392 "lwin_wkt_parse.y"
2492#line 2493 "lwin_wkt_parse.c"
2493 break;
2494
2495 case 79:
2496#line 394 "lwin_wkt_parse.y"
2498#line 2499 "lwin_wkt_parse.c"
2499 break;
2500
2501 case 80:
2502#line 396 "lwin_wkt_parse.y"
2504#line 2505 "lwin_wkt_parse.c"
2505 break;
2506
2507 case 81:
2508#line 398 "lwin_wkt_parse.y"
2510#line 2511 "lwin_wkt_parse.c"
2511 break;
2512
2513 case 82:
2514#line 400 "lwin_wkt_parse.y"
2516#line 2517 "lwin_wkt_parse.c"
2517 break;
2518
2519 case 83:
2520#line 402 "lwin_wkt_parse.y"
2522#line 2523 "lwin_wkt_parse.c"
2523 break;
2524
2525 case 84:
2526#line 406 "lwin_wkt_parse.y"
2528#line 2529 "lwin_wkt_parse.c"
2529 break;
2530
2531 case 85:
2532#line 408 "lwin_wkt_parse.y"
2534#line 2535 "lwin_wkt_parse.c"
2535 break;
2536
2537 case 86:
2538#line 410 "lwin_wkt_parse.y"
2540#line 2541 "lwin_wkt_parse.c"
2541 break;
2542
2543 case 87:
2544#line 412 "lwin_wkt_parse.y"
2546#line 2547 "lwin_wkt_parse.c"
2547 break;
2548
2549 case 88:
2550#line 416 "lwin_wkt_parse.y"
2552#line 2553 "lwin_wkt_parse.c"
2553 break;
2554
2555 case 89:
2556#line 418 "lwin_wkt_parse.y"
2558#line 2559 "lwin_wkt_parse.c"
2559 break;
2560
2561 case 90:
2562#line 420 "lwin_wkt_parse.y"
2564#line 2565 "lwin_wkt_parse.c"
2565 break;
2566
2567 case 91:
2568#line 422 "lwin_wkt_parse.y"
2570#line 2571 "lwin_wkt_parse.c"
2571 break;
2572
2573 case 92:
2574#line 424 "lwin_wkt_parse.y"
2576#line 2577 "lwin_wkt_parse.c"
2577 break;
2578
2579 case 93:
2580#line 426 "lwin_wkt_parse.y"
2582#line 2583 "lwin_wkt_parse.c"
2583 break;
2584
2585 case 94:
2586#line 428 "lwin_wkt_parse.y"
2588#line 2589 "lwin_wkt_parse.c"
2589 break;
2590
2591 case 95:
2592#line 430 "lwin_wkt_parse.y"
2594#line 2595 "lwin_wkt_parse.c"
2595 break;
2596
2597 case 96:
2598#line 434 "lwin_wkt_parse.y"
2600#line 2601 "lwin_wkt_parse.c"
2601 break;
2602
2603 case 97:
2604#line 436 "lwin_wkt_parse.y"
2606#line 2607 "lwin_wkt_parse.c"
2607 break;
2608
2609 case 98:
2610#line 438 "lwin_wkt_parse.y"
2612#line 2613 "lwin_wkt_parse.c"
2613 break;
2614
2615 case 99:
2616#line 440 "lwin_wkt_parse.y"
2618#line 2619 "lwin_wkt_parse.c"
2619 break;
2620
2621 case 100:
2622#line 444 "lwin_wkt_parse.y"
2624#line 2625 "lwin_wkt_parse.c"
2625 break;
2626
2627 case 101:
2628#line 446 "lwin_wkt_parse.y"
2630#line 2631 "lwin_wkt_parse.c"
2631 break;
2632
2633 case 102:
2634#line 450 "lwin_wkt_parse.y"
2636#line 2637 "lwin_wkt_parse.c"
2637 break;
2638
2639 case 103:
2640#line 452 "lwin_wkt_parse.y"
2642#line 2643 "lwin_wkt_parse.c"
2643 break;
2644
2645 case 104:
2646#line 454 "lwin_wkt_parse.y"
2648#line 2649 "lwin_wkt_parse.c"
2649 break;
2650
2651 case 105:
2652#line 456 "lwin_wkt_parse.y"
2654#line 2655 "lwin_wkt_parse.c"
2655 break;
2656
2657 case 106:
2658#line 460 "lwin_wkt_parse.y"
2660#line 2661 "lwin_wkt_parse.c"
2661 break;
2662
2663 case 107:
2664#line 462 "lwin_wkt_parse.y"
2666#line 2667 "lwin_wkt_parse.c"
2667 break;
2668
2669 case 108:
2670#line 464 "lwin_wkt_parse.y"
2672#line 2673 "lwin_wkt_parse.c"
2673 break;
2674
2675 case 109:
2676#line 466 "lwin_wkt_parse.y"
2678#line 2679 "lwin_wkt_parse.c"
2679 break;
2680
2681 case 110:
2682#line 470 "lwin_wkt_parse.y"
2684#line 2685 "lwin_wkt_parse.c"
2685 break;
2686
2687 case 111:
2688#line 472 "lwin_wkt_parse.y"
2690#line 2691 "lwin_wkt_parse.c"
2691 break;
2692
2693 case 112:
2694#line 476 "lwin_wkt_parse.y"
2696#line 2697 "lwin_wkt_parse.c"
2697 break;
2698
2699 case 113:
2700#line 478 "lwin_wkt_parse.y"
2702#line 2703 "lwin_wkt_parse.c"
2703 break;
2704
2705 case 114:
2706#line 482 "lwin_wkt_parse.y"
2708#line 2709 "lwin_wkt_parse.c"
2709 break;
2710
2711 case 115:
2712#line 484 "lwin_wkt_parse.y"
2714#line 2715 "lwin_wkt_parse.c"
2715 break;
2716
2717 case 116:
2718#line 486 "lwin_wkt_parse.y"
2720#line 2721 "lwin_wkt_parse.c"
2721 break;
2722
2723 case 117:
2724#line 488 "lwin_wkt_parse.y"
2726#line 2727 "lwin_wkt_parse.c"
2727 break;
2728
2729 case 118:
2730#line 492 "lwin_wkt_parse.y"
2732#line 2733 "lwin_wkt_parse.c"
2733 break;
2734
2735 case 119:
2736#line 496 "lwin_wkt_parse.y"
2738#line 2739 "lwin_wkt_parse.c"
2739 break;
2740
2741 case 120:
2742#line 498 "lwin_wkt_parse.y"
2744#line 2745 "lwin_wkt_parse.c"
2745 break;
2746
2747 case 121:
2748#line 500 "lwin_wkt_parse.y"
2750#line 2751 "lwin_wkt_parse.c"
2751 break;
2752
2753 case 122:
2754#line 502 "lwin_wkt_parse.y"
2756#line 2757 "lwin_wkt_parse.c"
2757 break;
2758
2759 case 123:
2760#line 506 "lwin_wkt_parse.y"
2762#line 2763 "lwin_wkt_parse.c"
2763 break;
2764
2765 case 124:
2766#line 508 "lwin_wkt_parse.y"
2768#line 2769 "lwin_wkt_parse.c"
2769 break;
2770
2771 case 125:
2772#line 512 "lwin_wkt_parse.y"
2774#line 2775 "lwin_wkt_parse.c"
2775 break;
2776
2777 case 126:
2778#line 514 "lwin_wkt_parse.y"
2780#line 2781 "lwin_wkt_parse.c"
2781 break;
2782
2783 case 127:
2784#line 516 "lwin_wkt_parse.y"
2786#line 2787 "lwin_wkt_parse.c"
2787 break;
2788
2789 case 128:
2790#line 520 "lwin_wkt_parse.y"
2792#line 2793 "lwin_wkt_parse.c"
2793 break;
2794
2795 case 129:
2796#line 522 "lwin_wkt_parse.y"
2798#line 2799 "lwin_wkt_parse.c"
2799 break;
2800
2801 case 130:
2802#line 524 "lwin_wkt_parse.y"
2804#line 2805 "lwin_wkt_parse.c"
2805 break;
2806
2807 case 131:
2808#line 526 "lwin_wkt_parse.y"
2810#line 2811 "lwin_wkt_parse.c"
2811 break;
2812
2813 case 132:
2814#line 530 "lwin_wkt_parse.y"
2816#line 2817 "lwin_wkt_parse.c"
2817 break;
2818
2819 case 133:
2820#line 532 "lwin_wkt_parse.y"
2822#line 2823 "lwin_wkt_parse.c"
2823 break;
2824
2825 case 134:
2826#line 536 "lwin_wkt_parse.y"
2828#line 2829 "lwin_wkt_parse.c"
2829 break;
2830
2831 case 135:
2832#line 538 "lwin_wkt_parse.y"
2834#line 2835 "lwin_wkt_parse.c"
2835 break;
2836
2837 case 136:
2838#line 540 "lwin_wkt_parse.y"
2840#line 2841 "lwin_wkt_parse.c"
2841 break;
2842
2843
2844#line 2845 "lwin_wkt_parse.c"
2845
2846 default: break;
2847 }
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2860
2862 yylen = 0;
2863
2864 *++yyvsp = yyval;
2865 *++yylsp = yyloc;
2866
2867
2868
2869
2870 {
2872 const int yyi =
yypgoto[yylhs] + *yyssp;
2873 yystate = (0 <= yyi && yyi <=
YYLAST &&
yycheck[yyi] == *yyssp
2876 }
2877
2878 goto yynewstate;
2879
2880
2881
2882
2883
2884yyerrlab:
2885
2886
2888
2889 if (!yyerrstatus)
2890 {
2892 {
2894 = {yyssp, yytoken, &
yylloc};
2895 char const *yymsgp =
YY_(
"syntax error");
2896 int yysyntax_error_status;
2897 yysyntax_error_status =
yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
2898 if (yysyntax_error_status == 0)
2899 yymsgp = yymsg;
2900 else if (yysyntax_error_status == -1)
2901 {
2902 if (yymsg != yymsgbuf)
2906 if (yymsg)
2907 {
2908 yysyntax_error_status
2910 yymsgp = yymsg;
2911 }
2912 else
2913 {
2914 yymsg = yymsgbuf;
2915 yymsg_alloc = sizeof yymsgbuf;
2917 }
2918 }
2920 if (yysyntax_error_status ==
YYENOMEM)
2922 }
2923 }
2924
2925 yyerror_range[1] =
yylloc;
2926 if (yyerrstatus == 3)
2927 {
2928
2929
2930
2932 {
2933
2936 }
2937 else
2938 {
2942 }
2943 }
2944
2945
2946
2947 goto yyerrlab1;
2948
2949
2950
2951
2952
2953yyerrorlab:
2954
2955
2956 if (0)
2959
2960
2961
2963 yylen = 0;
2965 yystate = *yyssp;
2966 goto yyerrlab1;
2967
2968
2969
2970
2971
2972yyerrlab1:
2973 yyerrstatus = 3;
2974
2975
2976 for (;;)
2977 {
2980 {
2983 {
2985 if (0 < yyn)
2986 break;
2987 }
2988 }
2989
2990
2991 if (yyssp == yyss)
2993
2994 yyerror_range[1] = *yylsp;
2998 yystate = *yyssp;
3000 }
3001
3005
3006 yyerror_range[2] =
yylloc;
3007 ++yylsp;
3009
3010
3012
3013 yystate = yyn;
3014 goto yynewstate;
3015
3016
3017
3018
3019
3020yyacceptlab:
3021 yyresult = 0;
3022 goto yyreturnlab;
3023
3024
3025
3026
3027
3028yyabortlab:
3029 yyresult = 1;
3030 goto yyreturnlab;
3031
3032
3033
3034
3035
3036yyexhaustedlab:
3038 yyresult = 2;
3039 goto yyreturnlab;
3040
3041
3042
3043
3044
3045yyreturnlab:
3047 {
3048
3049
3053 }
3054
3055
3058 while (yyssp != yyss)
3059 {
3063 }
3064#ifndef yyoverflow
3065 if (yyss != yyssa)
3067#endif
3068 if (yymsg != yymsgbuf)
3070 return yyresult;
3071}
#define POLYHEDRALSURFACETYPE
#define SRID_UNKNOWN
Unknown SRID value.
LWGEOM * wkt_parser_compound_finalize(LWGEOM *compound, char *dimensionality)
POINTARRAY * wkt_parser_ptarray_add_coord(POINTARRAY *pa, POINT p)
LWGEOM * wkt_parser_polygon_add_ring(LWGEOM *poly, POINTARRAY *pa, char dimcheck)
LWGEOM * wkt_parser_curvepolygon_finalize(LWGEOM *poly, char *dimensionality)
LWGEOM * wkt_parser_collection_finalize(int lwtype, LWGEOM *geom, char *dimensionality)
LWGEOM * wkt_parser_collection_add_geom(LWGEOM *col, LWGEOM *geom)
LWGEOM * wkt_parser_triangle_new(POINTARRAY *pa, char *dimensionality)
POINTARRAY * wkt_parser_ptarray_new(POINT p)
Start a point array from the first coordinate.
POINT wkt_parser_coord_2(double c1, double c2)
Build a 2d coordinate.
POINT wkt_parser_coord_4(double c1, double c2, double c3, double c4)
LWGEOM * wkt_parser_compound_new(LWGEOM *geom)
LWGEOM * wkt_parser_polygon_finalize(LWGEOM *poly, char *dimensionality)
LWGEOM * wkt_parser_compound_add_geom(LWGEOM *col, LWGEOM *geom)
LWGEOM * wkt_parser_circularstring_new(POINTARRAY *pa, char *dimensionality)
Create a new circularstring.
POINT wkt_parser_coord_3(double c1, double c2, double c3)
Note, if this is an XYM coordinate we'll have to fix it later when we build the object itself and hav...
LWGEOM * wkt_parser_curvepolygon_add_ring(LWGEOM *poly, LWGEOM *ring)
LWGEOM * wkt_parser_collection_new(LWGEOM *geom)
LWGEOM * wkt_parser_curvepolygon_new(LWGEOM *ring)
LWGEOM * wkt_parser_linestring_new(POINTARRAY *pa, char *dimensionality)
Create a new linestring.
LWGEOM * wkt_parser_point_new(POINTARRAY *pa, char *dimensionality)
Create a new point.
LWGEOM * wkt_parser_polygon_new(POINTARRAY *pa, char dimcheck)
void wkt_parser_geometry_new(LWGEOM *geom, int32_t srid)
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
#define YY_IGNORE_USELESS_CAST_END
#define YYLLOC_DEFAULT(Current, Rhs, N)
static void yydestruct(const char *yymsg, yysymbol_kind_t yykind, YYSTYPE *yyvaluep, YYLTYPE *yylocationp)
#define YY_REDUCE_PRINT(Rule)
#define YY_CAST(Type, Val)
static const yytype_int16 yypact[]
static const yytype_uint8 yydefgoto[]
#define YY_ACCESSING_SYMBOL(State)
Accessing symbol of state STATE.
#define YY_SYMBOL_PRINT(Title, Kind, Value, Location)
static const yytype_int16 yypgoto[]
#define YY_STACK_PRINT(Bottom, Top)
#define YY_IGNORE_USELESS_CAST_BEGIN
static const yytype_int8 yyr2[]
static const yytype_int16 yytable[]
#define yytable_value_is_error(Yyn)
static const yytype_int8 yyr1[]
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
#define yypact_value_is_default(Yyn)
static const yytype_uint8 yydefact[]
static const yytype_uint8 yycheck[]
static int yysyntax_error(YYPTRDIFF_T *yymsg_alloc, char **yymsg, const yypcontext_t *yyctx)
POINTARRAY * ptarrayvalue