zconf.tab.h_shipped 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /* A Bison parser, made from zconf.y, by GNU bison 1.75. */
  2. /* Skeleton parser for Yacc-like parsing with Bison,
  3. Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 59 Temple Place - Suite 330,
  15. Boston, MA 02111-1307, USA. */
  16. /* As a special exception, when this file is copied by Bison into a
  17. Bison output file, you may use that output file without restriction.
  18. This special exception was added by the Free Software Foundation
  19. in version 1.24 of Bison. */
  20. #ifndef BISON_ZCONF_TAB_H
  21. # define BISON_ZCONF_TAB_H
  22. /* Tokens. */
  23. #ifndef YYTOKENTYPE
  24. # define YYTOKENTYPE
  25. /* Put the tokens into the symbol table, so that GDB and other debuggers
  26. know about them. */
  27. enum yytokentype {
  28. T_MAINMENU = 258,
  29. T_MENU = 259,
  30. T_ENDMENU = 260,
  31. T_SOURCE = 261,
  32. T_CHOICE = 262,
  33. T_ENDCHOICE = 263,
  34. T_COMMENT = 264,
  35. T_CONFIG = 265,
  36. T_HELP = 266,
  37. T_HELPTEXT = 267,
  38. T_IF = 268,
  39. T_ENDIF = 269,
  40. T_DEPENDS = 270,
  41. T_REQUIRES = 271,
  42. T_OPTIONAL = 272,
  43. T_PROMPT = 273,
  44. T_DEFAULT = 274,
  45. T_TRISTATE = 275,
  46. T_BOOLEAN = 276,
  47. T_INT = 277,
  48. T_HEX = 278,
  49. T_WORD = 279,
  50. T_STRING = 280,
  51. T_UNEQUAL = 281,
  52. T_EOF = 282,
  53. T_EOL = 283,
  54. T_CLOSE_PAREN = 284,
  55. T_OPEN_PAREN = 285,
  56. T_ON = 286,
  57. T_OR = 287,
  58. T_AND = 288,
  59. T_EQUAL = 289,
  60. T_NOT = 290
  61. };
  62. #endif
  63. #define T_MAINMENU 258
  64. #define T_MENU 259
  65. #define T_ENDMENU 260
  66. #define T_SOURCE 261
  67. #define T_CHOICE 262
  68. #define T_ENDCHOICE 263
  69. #define T_COMMENT 264
  70. #define T_CONFIG 265
  71. #define T_HELP 266
  72. #define T_HELPTEXT 267
  73. #define T_IF 268
  74. #define T_ENDIF 269
  75. #define T_DEPENDS 270
  76. #define T_REQUIRES 271
  77. #define T_OPTIONAL 272
  78. #define T_PROMPT 273
  79. #define T_DEFAULT 274
  80. #define T_TRISTATE 275
  81. #define T_BOOLEAN 276
  82. #define T_INT 277
  83. #define T_HEX 278
  84. #define T_WORD 279
  85. #define T_STRING 280
  86. #define T_UNEQUAL 281
  87. #define T_EOF 282
  88. #define T_EOL 283
  89. #define T_CLOSE_PAREN 284
  90. #define T_OPEN_PAREN 285
  91. #define T_ON 286
  92. #define T_OR 287
  93. #define T_AND 288
  94. #define T_EQUAL 289
  95. #define T_NOT 290
  96. #ifndef YYSTYPE
  97. #line 33 "zconf.y"
  98. typedef union {
  99. int token;
  100. char *string;
  101. struct symbol *symbol;
  102. struct expr *expr;
  103. struct menu *menu;
  104. } yystype;
  105. /* Line 1281 of /usr/share/bison/yacc.c. */
  106. #line 118 "zconf.tab.h"
  107. # define YYSTYPE yystype
  108. #endif
  109. extern YYSTYPE zconflval;
  110. #endif /* not BISON_ZCONF_TAB_H */