zconf.tab.h_shipped 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /* A Bison parser, made by GNU Bison 2.5. */
  2. /* Bison interface for Yacc-like parsers in C
  3. Copyright (C) 1984, 1989-1990, 2000-2011 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 3 of the License, or
  7. (at your option) 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, see <http://www.gnu.org/licenses/>. */
  14. /* As a special exception, you may create a larger work that contains
  15. part or all of the Bison parser skeleton and distribute that work
  16. under terms of your choice, so long as that work isn't itself a
  17. parser generator using the skeleton or a modified version thereof
  18. as a parser skeleton. Alternatively, if you modify or redistribute
  19. the parser skeleton itself, you may (at your option) remove this
  20. special exception, which will cause the skeleton and the resulting
  21. Bison output files to be licensed under the GNU General Public
  22. License without this special exception.
  23. This special exception was added by the Free Software Foundation in
  24. version 2.2 of Bison. */
  25. /* Tokens. */
  26. #ifndef YYTOKENTYPE
  27. # define YYTOKENTYPE
  28. /* Put the tokens into the symbol table, so that GDB and other debuggers
  29. know about them. */
  30. enum yytokentype {
  31. T_MAINMENU = 258,
  32. T_MENU = 259,
  33. T_ENDMENU = 260,
  34. T_SOURCE = 261,
  35. T_CHOICE = 262,
  36. T_ENDCHOICE = 263,
  37. T_COMMENT = 264,
  38. T_CONFIG = 265,
  39. T_MENUCONFIG = 266,
  40. T_HELP = 267,
  41. T_HELPTEXT = 268,
  42. T_IF = 269,
  43. T_ENDIF = 270,
  44. T_DEPENDS = 271,
  45. T_OPTIONAL = 272,
  46. T_PROMPT = 273,
  47. T_TYPE = 274,
  48. T_DEFAULT = 275,
  49. T_SELECT = 276,
  50. T_RANGE = 277,
  51. T_VISIBLE = 278,
  52. T_OPTION = 279,
  53. T_ON = 280,
  54. T_WORD = 281,
  55. T_WORD_QUOTE = 282,
  56. T_UNEQUAL = 283,
  57. T_CLOSE_PAREN = 284,
  58. T_OPEN_PAREN = 285,
  59. T_EOL = 286,
  60. T_OR = 287,
  61. T_AND = 288,
  62. T_EQUAL = 289,
  63. T_NOT = 290
  64. };
  65. #endif
  66. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  67. typedef union YYSTYPE
  68. {
  69. /* Line 2068 of yacc.c */
  70. #line 37 "zconf.y"
  71. char *string;
  72. struct file *file;
  73. struct symbol *symbol;
  74. struct expr *expr;
  75. struct menu *menu;
  76. const struct kconf_id *id;
  77. /* Line 2068 of yacc.c */
  78. #line 96 "zconf.tab.h"
  79. } YYSTYPE;
  80. # define YYSTYPE_IS_TRIVIAL 1
  81. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  82. # define YYSTYPE_IS_DECLARED 1
  83. #endif
  84. extern YYSTYPE zconflval;