Changeset: 0d32195c0b18 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/0d32195c0b18
Modified Files:
        sql/server/sql_scan.c
Branch: default
Log Message:

cleanup != handling


diffs (18 lines):

diff --git a/sql/server/sql_scan.c b/sql/server/sql_scan.c
--- a/sql/server/sql_scan.c
+++ b/sql/server/sql_scan.c
@@ -1256,11 +1256,10 @@ int scanner_symbol(mvc * c, int cur)
                        lc->rs->buf[lc->rs->pos + lc->yycur - 2] = '<';
                        lc->rs->buf[lc->rs->pos + lc->yycur - 1] = '>';
                        return scanner_token( lc, COMPARISON);
+               } else {
+                       utf8_putchar(lc, cur); //put the char back
                }
-               else
-                       lc->yycur--;
-                       cur = '!';
-               break;
+               return scanner_token(lc, '!');
        case '<':
                lc->started = 1;
                cur = scanner_getc(lc);
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to