icalssyacc.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /* A Bison parser, made by GNU Bison 2.3. */
  2. /* Skeleton interface for Bison's Yacc-like parsers in C
  3. Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
  4. Free Software Foundation, Inc.
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin Street, Fifth Floor,
  16. Boston, MA 02110-1301, USA. */
  17. /* As a special exception, you may create a larger work that contains
  18. part or all of the Bison parser skeleton and distribute that work
  19. under terms of your choice, so long as that work isn't itself a
  20. parser generator using the skeleton or a modified version thereof
  21. as a parser skeleton. Alternatively, if you modify or redistribute
  22. the parser skeleton itself, you may (at your option) remove this
  23. special exception, which will cause the skeleton and the resulting
  24. Bison output files to be licensed under the GNU General Public
  25. License without this special exception.
  26. This special exception was added by the Free Software Foundation in
  27. version 2.2 of Bison. */
  28. /* Tokens. */
  29. #ifndef YYTOKENTYPE
  30. # define YYTOKENTYPE
  31. /* Put the tokens into the symbol table, so that GDB and other debuggers
  32. know about them. */
  33. enum yytokentype {
  34. STRING = 258,
  35. SELECT = 259,
  36. FROM = 260,
  37. WHERE = 261,
  38. COMMA = 262,
  39. QUOTE = 263,
  40. EQUALS = 264,
  41. NOTEQUALS = 265,
  42. LESS = 266,
  43. GREATER = 267,
  44. LESSEQUALS = 268,
  45. GREATEREQUALS = 269,
  46. AND = 270,
  47. OR = 271,
  48. EOL = 272,
  49. END = 273,
  50. IS = 274,
  51. NOT = 275,
  52. SQLNULL = 276
  53. };
  54. #endif
  55. /* Tokens. */
  56. #define STRING 258
  57. #define SELECT 259
  58. #define FROM 260
  59. #define WHERE 261
  60. #define COMMA 262
  61. #define QUOTE 263
  62. #define EQUALS 264
  63. #define NOTEQUALS 265
  64. #define LESS 266
  65. #define GREATER 267
  66. #define LESSEQUALS 268
  67. #define GREATEREQUALS 269
  68. #define AND 270
  69. #define OR 271
  70. #define EOL 272
  71. #define END 273
  72. #define IS 274
  73. #define NOT 275
  74. #define SQLNULL 276
  75. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  76. typedef union YYSTYPE
  77. {
  78. char* v_string;
  79. }
  80. /* Line 1489 of yacc.c. */
  81. YYSTYPE;
  82. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  83. # define YYSTYPE_IS_DECLARED 1
  84. # define YYSTYPE_IS_TRIVIAL 1
  85. #endif
  86. extern YYSTYPE sslval;