Update of /cvsroot/monetdb/pathfinder/compiler/core
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2044/compiler/core
Modified Files:
Tag: XQFT
fs.brg
Log Message:
propagated changes of Saturday Nov 28 2009
from the development trunk to the XQFT branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/11/28 - stmane: compiler/core/fs.brg,1.81
propagated changes of Sunday Nov 22 2009 - Saturday Nov 28 2009
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/11/22 - stmane: compiler/core/fs.brg,1.74.6.5
some more defensive checks
for recusions running out of stack space
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: fs.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/core/fs.brg,v
retrieving revision 1.79
retrieving revision 1.79.2.1
diff -u -d -r1.79 -r1.79.2.1
--- fs.brg 5 Nov 2009 16:23:58 -0000 1.79
+++ fs.brg 28 Nov 2009 20:27:43 -0000 1.79.2.1
@@ -787,6 +787,9 @@
the current rule */
PFpnode_t *kids[MAX_KIDS]; /* leaf nodes of this rule */
+ /* guard against too dep recursion */
+ PFrecursion_fence();
+
/* determine rule that matches for this non-terminal */
rule = PFfs_rule (STATE_LABEL (p), goalnt);
@@ -983,6 +986,9 @@
{
PFcnode_t *c; /* temporary helper variable */
+ /* guard against too dep recursion */
+ PFrecursion_fence();
+
/*
PFinfo (OOPS_NOTICE, "processing rule %i", rule);
*/
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins