diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-05-14 22:39:17 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-05-14 22:39:17 +0000 |
commit | 467944c01e5978b0f543353e1a7dd3150fd69e6f (patch) | |
tree | 398d3fc383152f342448c1e0c7271d7ddf32b574 /Source/SPSQLTokenizer.h | |
parent | 455f1eca057580a8557ed11c0e6a8e835d0d74a3 (diff) | |
download | sequelpro-467944c01e5978b0f543353e1a7dd3150fd69e6f.tar.gz sequelpro-467944c01e5978b0f543353e1a7dd3150fd69e6f.tar.bz2 sequelpro-467944c01e5978b0f543353e1a7dd3150fd69e6f.zip |
• optimized SQLtokenizer lexer
Diffstat (limited to 'Source/SPSQLTokenizer.h')
-rw-r--r-- | Source/SPSQLTokenizer.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/Source/SPSQLTokenizer.h b/Source/SPSQLTokenizer.h index 7f459440..3427e57d 100644 --- a/Source/SPSQLTokenizer.h +++ b/Source/SPSQLTokenizer.h @@ -20,13 +20,8 @@ // // More info at <http://code.google.com/p/sequel-pro/> -#define SP_SQL_TOKEN_DOUBLE_QUOTED_TEXT 1 -#define SP_SQL_TOKEN_SINGLE_QUOTED_TEXT 2 -#define SP_SQL_TOKEN_COMMENT 3 -#define SP_SQL_TOKEN_BACKTICK_QUOTED_TEXT 4 -#define SP_SQL_TOKEN_DELIM_START 5 -#define SP_SQL_TOKEN_DELIM_VALUE 6 -#define SP_SQL_TOKEN_DELIM_END 7 -#define SP_SQL_TOKEN_WHITESPACE 8 -#define SP_SQL_TOKEN_SEMICOLON 9 -#define SP_SQL_TOKEN_COMPOUND 10 +#define SP_SQL_TOKEN_DELIM_VALUE 1 +#define SP_SQL_TOKEN_DELIM_END 2 +#define SP_SQL_TOKEN_SEMICOLON 3 +#define SP_SQL_TOKEN_COMPOUND_END 4 +#define SP_SQL_TOKEN_IGNORE 5 |