Update of /cvsroot/monetdb/pathfinder/compiler/core
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20796/core
Modified Files:
coreopt.brg
Log Message:
-- Steps starting from attribute nodes are defined for all upward axes.
Index: coreopt.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/core/coreopt.brg,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- coreopt.brg 17 Mar 2008 17:41:21 -0000 1.61
+++ coreopt.brg 19 Mar 2008 13:23:08 -0000 1.62
@@ -1369,6 +1369,8 @@
/* remove bogus steps starting from attribute nodes */
assert (p->kind == c_locsteps);
if (L(p)->kind != c_parent &&
+ L(p)->kind != c_ancestor &&
+ L(p)->kind != c_ancestor_or_self &&
PFty_subtype (TY(R(p)), PFty_star (PFty_xs_anyAttribute ()))) {
*p = *empty ();
TY(p) = PFty_empty ();
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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