Just an update to this, I've created a ticket for this problem, and attached
a patch which seems to be working in my local set-up.
http://trac.osgeo.org/gdal/ticket/4262

Due to the lack of my knowledge about bison let me know if one have a more
appropriate solution to this problem.

Any objection to update such change in the stable branch?

Best regards,

Tamas



2011/9/25 Tamas Szekeres <[email protected]>

> Hi Devs,
>
> I've run into a "memory exhausted" error in the OGR SQL parser when the
> token count exceeds 200. This is related to the YYINITDEPTH setting in
> swq_parser.cpp
> Does anyone know how to enable the built in stack extension mechanism which
> can automatically extend the stack size up to YYMAXDEPTH (10000)?
>
> Best regards,
>
> Tamas
>
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to