Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.2 KiB

  1. /*++
  2. // Copyright (c) 1998-2001 Microsoft Corporation, All Rights Reserved
  3. Module Name:
  4. sqllex.h
  5. Abstract:
  6. SQL Level 1 DFA Table & Tokens
  7. History:
  8. --*/
  9. #ifndef _SQLLEX_H_
  10. #define _SQLLEX_H_
  11. #define SQL_1_TOK_EOF 0
  12. #define SQL_1_TOK_ERROR 1
  13. #define SQL_1_TOK_IDENT 100
  14. #define SQL_1_TOK_QSTRING 101
  15. #define SQL_1_TOK_INT 102
  16. #define SQL_1_TOK_REAL 103
  17. #define SQL_1_TOK_CHAR 104
  18. #define SQL_1_TOK_BOOL 105
  19. #define SQL_1_TOK_LE 106
  20. #define SQL_1_TOK_LT 107
  21. #define SQL_1_TOK_GE 108
  22. #define SQL_1_TOK_GT 109
  23. #define SQL_1_TOK_EQ 110
  24. #define SQL_1_TOK_NE 111
  25. #define SQL_1_TOK_DOT 112
  26. #define SQL_1_TOK_OPEN_PAREN 113
  27. #define SQL_1_TOK_CLOSE_PAREN 114
  28. #define SQL_1_TOK_ASTERISK 115
  29. #define SQL_1_TOK_COMMA 116
  30. #define SQL_1_TOK_SELECT 120
  31. #define SQL_1_TOK_WHERE 121
  32. #define SQL_1_TOK_FROM 122
  33. #define SQL_1_TOK_LIKE 123
  34. #define SQL_1_TOK_OR 124
  35. #define SQL_1_TOK_AND 125
  36. #define SQL_1_TOK_NOT 126
  37. #define SQL_1_TOK_IS 127
  38. #define SQL_1_TOK_NULL 128
  39. extern LexEl Sql_1_LexTable[];
  40. #endif