Update of /cvsroot/monetdb/pathfinder/compiler/semantics
In directory
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5771/pathfinder/compiler/semantics
Modified Files:
Tag: Nov2009
typecheck.brg
Log Message:
some more defensive checks
for recusions running out of stack space
Index: typecheck.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/semantics/typecheck.brg,v
retrieving revision 1.80.6.2
retrieving revision 1.80.6.3
diff -u -d -r1.80.6.2 -r1.80.6.3
--- typecheck.brg 15 Oct 2009 13:33:26 -0000 1.80.6.2
+++ typecheck.brg 22 Nov 2009 20:26:40 -0000 1.80.6.3
@@ -390,6 +390,9 @@
static void
do_reduce (PFcnode_t * p, int rule, short *nts, PFcnode_t *kids[])
{
+ /* guard against too dep recursion */
+ PFrecursion_fence();
+
switch (rule) {
/* Query: main (FunctionDecls, CoreExpr) */
------------------------------------------------------------------------------
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