Update of /cvsroot/monetdb/sql/src/server
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv12030/src/server

Modified Files:
        sql_scan.mx 
Log Message:
propagated changes of Friday Mar 02 2007 - Wednesday Mar 07 2007
from the SQL_2-16 branch to the development trunk


Index: sql_scan.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_scan.mx,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- sql_scan.mx 17 Jan 2007 13:36:50 -0000      1.122
+++ sql_scan.mx 7 Mar 2007 15:02:43 -0000       1.123
@@ -634,9 +634,9 @@
               !(cur == '/' && prev == '*')) 
                prev = cur;
        lc->yysval = lc->yycur;
+       lc->started = started;
        if (cur == '/')
                cur = scanner_getc(lc);
-       lc->started = started;
        return cur;
 }
 
@@ -644,10 +644,13 @@
 skip_sql_comment(struct scanner * lc)
 {
        int cur;
+       int started = lc->started;
 
+       lc->started = 1;
        while ((cur = scanner_getc(lc)) != EOF && (cur != '\n'))
                ;
        lc->yysval = lc->yycur;
+       lc->started = started;
        if (cur == '\n')
                cur = scanner_getc(lc);
        return cur;


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to