zconf.tab.h_shipped 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. T_MAINMENU = 258,
  35. T_MENU = 259,
  36. T_ENDMENU = 260,
  37. T_SOURCE = 261,
  38. T_CHOICE = 262,
  39. T_ENDCHOICE = 263,
  40. T_COMMENT = 264,
  41. T_CONFIG = 265,
  42. T_MENUCONFIG = 266,
  43. T_HELP = 267,
  44. T_HELPTEXT = 268,
  45. T_IF = 269,
  46. T_ENDIF = 270,
  47. T_DEPENDS = 271,
  48. T_OPTIONAL = 272,
  49. T_PROMPT = 273,
  50. T_TYPE = 274,
  51. T_DEFAULT = 275,
  52. T_SELECT = 276,
  53. T_RANGE = 277,
  54. T_OPTION = 278,
  55. T_ON = 279,
  56. T_WORD = 280,
  57. T_WORD_QUOTE = 281,
  58. T_UNEQUAL = 282,
  59. T_CLOSE_PAREN = 283,
  60. T_OPEN_PAREN = 284,
  61. T_EOL = 285,
  62. T_OR = 286,
  63. T_AND = 287,
  64. T_EQUAL = 288,
  65. T_NOT = 289
  66. };
  67. #endif
  68. /* Tokens. */
  69. #define T_MAINMENU 258
  70. #define T_MENU 259
  71. #define T_ENDMENU 260
  72. #define T_SOURCE 261
  73. #define T_CHOICE 262
  74. #define T_ENDCHOICE 263
  75. #define T_COMMENT 264
  76. #define T_CONFIG 265
  77. #define T_MENUCONFIG 266
  78. #define T_HELP 267
  79. #define T_HELPTEXT 268
  80. #define T_IF 269
  81. #define T_ENDIF 270
  82. #define T_DEPENDS 271
  83. #define T_OPTIONAL 272
  84. #define T_PROMPT 273
  85. #define T_TYPE 274
  86. #define T_DEFAULT 275
  87. #define T_SELECT 276
  88. #define T_RANGE 277
  89. #define T_OPTION 278
  90. #define T_ON 279
  91. #define T_WORD 280
  92. #define T_WORD_QUOTE 281
  93. #define T_UNEQUAL 282
  94. #define T_CLOSE_PAREN 283
  95. #define T_OPEN_PAREN 284
  96. #define T_EOL 285
  97. #define T_OR 286
  98. #define T_AND 287
  99. #define T_EQUAL 288
  100. #define T_NOT 289
  101. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  102. typedef union YYSTYPE
  103. #line 44 "zconf.y"
  104. {
  105. char *string;
  106. struct file *file;
  107. struct symbol *symbol;
  108. struct expr *expr;
  109. struct menu *menu;
  110. struct kconf_id *id;
  111. }
  112. /* Line 1489 of yacc.c. */
  113. #line 126 "zconf.tab.h"
  114. YYSTYPE;
  115. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  116. # define YYSTYPE_IS_DECLARED 1
  117. # define YYSTYPE_IS_TRIVIAL 1
  118. #endif
  119. extern YYSTYPE zconflval;