Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18726

Modified Files:
        mal_parser.mx 
Log Message:
A few years old bug. The variable argument property was not
aligned with polymorphic testing.


Index: mal_parser.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_parser.mx,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -d -r1.194 -r1.195
--- mal_parser.mx       19 May 2007 06:09:40 -0000      1.194
+++ mal_parser.mx       22 May 2007 21:17:08 -0000      1.195
@@ -1010,7 +1010,7 @@
                /* the last argument may be variable length */
                if( MALkeyword(cntxt,"...",3) ){
                        curInstr->varargs |= VARARGS;
-                       setPolymorphic(curInstr,TYPE_any,FALSE);
+                       setPolymorphic(curInstr,TYPE_any,TRUE);
                        break;
                }
                if ((ch = currChar(cntxt)) != ',') {


-------------------------------------------------------------------------
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

Reply via email to