1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Remove a C++-ism from the code. Ticket #3912. (CVS 6752)

FossilOrigin-Name: bc729bc3e6f6e3570103e646080eb119311b0fa7
This commit is contained in:
drh
2009-06-12 11:42:11 +00:00
parent 13d32d196e
commit 8be4f639d9
3 changed files with 9 additions and 9 deletions

View File

@@ -15,7 +15,7 @@
** individual tokens and sends those tokens one-by-one over to the
** parser for analysis.
**
** $Id: tokenize.c,v 1.159 2009/06/09 18:01:38 drh Exp $
** $Id: tokenize.c,v 1.160 2009/06/12 11:42:12 drh Exp $
*/
#include "sqliteInt.h"
#include <stdlib.h>
@@ -330,8 +330,8 @@ int sqlite3GetToken(const unsigned char *z, int *tokenType){
#endif
case '@': /* For compatibility with MS SQL Server */
case ':': {
testcase( z[0]=='$' ); testcase( z[0]=='@' ); testcase( z[0]==':' );
int n = 0;
testcase( z[0]=='$' ); testcase( z[0]=='@' ); testcase( z[0]==':' );
*tokenType = TK_VARIABLE;
for(i=1; (c=z[i])!=0; i++){
if( IdChar(c) ){