Just an update to this, I&#39;ve created a ticket for this problem, and attached a patch which seems to be working in my local set-up.<div><a href="http://trac.osgeo.org/gdal/ticket/4262">http://trac.osgeo.org/gdal/ticket/4262</a></div>
<div><br></div><div>Due to the lack of my knowledge about bison let me know if one have a more appropriate solution to this problem.</div><div><br></div><div>Any objection to update such change in the stable branch?</div>
<div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div><div><br><br><div class="gmail_quote">2011/9/25 Tamas Szekeres <span dir="ltr">&lt;<a href="mailto:szekerest@gmail.com">szekerest@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Devs,<div><br></div><div>I&#39;ve run into a &quot;memory exhausted&quot; error in the OGR SQL parser when the token count exceeds 200. This is related to the YYINITDEPTH setting in swq_parser.cpp</div>
<div>Does anyone know how to enable the built in stack extension mechanism which can automatically extend the stack size up to YYMAXDEPTH (10000)?</div>
<div><br></div><div>Best regards,</div><div><br></div><font color="#888888"><div>Tamas</div>
</font></blockquote></div><br></div>