Update of /cvsroot/monetdb/pathfinder/compiler/algebra/opt
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv22217/compiler/algebra/opt

Modified Files:
        opt_general.brg 
Log Message:
propagated changes of Monday Feb 16 2009 - Tuesday Feb 17 2009
from the Feb2009 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/02/16 - tsheyar: compiler/algebra/opt/opt_general.brg,1.63.2.1
-- For constructed element and document nodes with empty content allow
   all nodes defined in the grammar.

-- Rewrite the content of an empty element or document constructors
   into a unified variant ('fncs (nil, nil)' -> 'nil').
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


U opt_general.brg
Index: opt_general.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/opt/opt_general.brg,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- opt_general.brg     22 Jan 2009 17:07:58 -0000      1.63
+++ opt_general.brg     17 Feb 2009 00:53:57 -0000      1.64
@@ -252,15 +252,16 @@
 
 Fcns:   fcns (Twig, Fcns)                         =  87 (10);
 Fcns:   fcns (content (Frag, EmptyRel), Fcns)     =  88 (10);
-Fcns:   nil                                       =  89 (10);
+Fcns:   fcns (nil, nil)                           =  89 (10);
+Fcns:   nil                                       =  90 (10);
 
-Side:   error (Side, Rel)                         =  90 (10);
-Side:   nil                                       =  91 (10);
-Side:   trace (Side, Trc)                         =  92 (10);
-Trc:    trace_items (Rel, Msg)                    =  93 (10);
-Msg:    trace_msg (Rel, Map)                      =  94 (10);
-Map:    trace_map (Rel, Map)                      =  95 (10);
-Map:    nil                                       =  96 (10);
+Side:   error (Side, Rel)                         =  91 (10);
+Side:   nil                                       =  92 (10);
+Side:   trace (Side, Trc)                         =  93 (10);
+Trc:    trace_items (Rel, Msg)                    =  94 (10);
+Msg:    trace_msg (Rel, Map)                      =  95 (10);
+Map:    trace_map (Rel, Map)                      =  96 (10);
+Map:    nil                                       =  97 (10);
 
 Rel:    rec_fix (side_effects (Side, Rec), Rel)   =  98 (10);
 Rel:    rec_base                                  =  99 (10);
@@ -1484,6 +1485,8 @@
 
         /* Fcns:   fcns (content (Frag, EmptyRel), Fcns) */
         case 88:
+        /* Fcns:   fcns (nil, nil) */
+        case 89:
             /* This rewrite splits up the R(p) operator... */
             *p = *R(p);
             /* ... and we at least have to create a new property to avoid


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to