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

Modified Files:
        milgen.brg 
Log Message:
The error operator now reaches all the way to the mil level.
* planner.c: added code for actually creating the physical plan with the error 
op.
* milgen.brg: for the time being only prints a standar error, next commit will 
print the correct string
* logical.h: added a semantic content for the error operator 



Index: milgen.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milgen.brg,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- milgen.brg  14 Dec 2007 12:02:36 -0000      1.92
+++ milgen.brg  19 Dec 2007 16:06:35 -0000      1.93
@@ -151,6 +151,7 @@
 %term frag_extract   = 134
 %term frag_union     = 135
 %term empty_frag     = 136
+%term error          = 139
 %term cond_err       = 140
 %term nil            = 141
 %term trace          = 142
@@ -257,6 +258,7 @@
 FragList: frag_union (FragList, Frag)                              = 123 (10);
 FragList: empty_frag                                               = 124 (10);
 
+Rel:      error(Rel)                                               = 129 (10);
 Rel:      cond_err (Rel, Rel)                                      = 130 (10);
 Rel:      cond_err (Rel, empty_tbl)                                = 131 (10);
 Rel:      trace (Rel, trace_msg (Rel, Map))                        = 135 (10);
@@ -7162,6 +7164,10 @@
         case 124:
             break;
 
+        /* Rel:      error(Rel) */
+        case 129:
+            execute ( error(lit_str("error msg")));
+            break;
         /* Rel:      cond_err (Rel, Rel) */
         case 130:
             execute (


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to