Update of /cvsroot/monetdb/MonetDB5/src/compiler
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12961/compiler
Modified Files:
mal_compiler.mx
Log Message:
The primary change is to remap >(bat,cst) into <(bat,cst)
in opt_remap. Took the opportunity to rename a macro
Index: mal_compiler.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/compiler/mal_compiler.mx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- mal_compiler.mx 18 Apr 2007 14:09:09 -0000 1.15
+++ mal_compiler.mx 1 Jun 2007 06:48:27 -0000 1.16
@@ -168,7 +168,7 @@
int sz = 0;
ValPtr val;
- val = &getVarConstant(mb, i);
+ val = &getConstant(mb, i);
if (val->vtype == TYPE_str) {
stream_printf(f, "\"%s\"", val->val.sval);
} else {
@@ -393,7 +393,7 @@
if (getModuleId(pn))
setModuleId(p,NULL);
setModuleId(pn, NULL);
- setFunctionId(pn, GDKstrdup(getVarConstant(mb,
pn->argv[pn->retc]).val.sval));
+ setFunctionId(pn, GDKstrdup(getConstant(mb,
pn->argv[pn->retc]).val.sval));
delArgument(pn, pn->retc);
typeChecker(MCgetClient()->nspace, mb, pn, TRUE);
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins