Update of /cvsroot/monetdb/pathfinder/compiler/sql
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27858/sql

Modified Files:
        lalg2sql.brg 
Log Message:
-- Fix bug in SQL compilation -- we need to be able to reduce
   more than PFLA_OP_MAXCHILD (=2) non-terminals.


Index: lalg2sql.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/sql/lalg2sql.brg,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- lalg2sql.brg        26 Nov 2007 10:06:25 -0000      1.89
+++ lalg2sql.brg        26 Nov 2007 10:09:21 -0000      1.90
@@ -1621,7 +1621,7 @@
             break;
         default:
             /* bottom-up translation */
-            for (unsigned short i = 0; i < PFLA_OP_MAXCHILD && nts[i]; i++)
+            for (unsigned short i = 0; i < nts[i]; i++)
                 reduce (kids[i], nts[i]);
             break;
     }


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to