1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-09 14:21:03 +03:00

:-) (CVS 100)

FossilOrigin-Name: 1d4fe5599ed0bae18dba5842ab7ea1d34b8ec3ad
This commit is contained in:
drh
2000-06-16 20:51:26 +00:00
parent c08a4f1a9d
commit 0040077d77
8 changed files with 49 additions and 17 deletions

View File

@@ -27,7 +27,7 @@
** individual tokens and sends those tokens one-by-one over to the
** parser for analysis.
**
** $Id: tokenize.c,v 1.11 2000/06/08 16:26:24 drh Exp $
** $Id: tokenize.c,v 1.12 2000/06/16 20:51:26 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -217,6 +217,15 @@ int sqliteGetToken(const char *z, int *tokenType){
return 2;
}
}
case '|': {
if( z[1]!='|' ){
*tokenType = TK_ILLEGAL;
return 1;
}else{
*tokenType = TK_CONCAT;
return 2;
}
}
case ',': {
*tokenType = TK_COMMA;
return 1;