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

Modified Files:
        mal_readline.mx 
Log Message:
The simplicity of MAL instructions permits to search for the mod.fcn
in completion advice. Try
i := io.pr<tab>


Index: mal_readline.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_readline.mx,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- mal_readline.mx     13 Sep 2007 21:45:23 -0000      1.53
+++ mal_readline.mx     14 Sep 2007 06:19:16 -0000      1.54
@@ -203,6 +203,9 @@
        }
        if( msg == 0 && *text){
                char cmd[BUFSIZ], *c;
+               c= strstr(text,":=");
+               if(c) text=c+2;
+               while(isspace((int)*text) ) text++;
                c= strchr(text,'.');
                if( c== NULL)
                        snprintf(cmd,BUFSIZ,"%s.*(",text);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to