dtc-parser.tab.h_shipped 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /* A Bison parser, made by GNU Bison 2.7.12-4996. */
  2. /* Bison interface for Yacc-like parsers in C
  3. Copyright (C) 1984, 1989-1990, 2000-2013 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. #ifndef YY_YY_DTC_PARSER_TAB_H_INCLUDED
  26. # define YY_YY_DTC_PARSER_TAB_H_INCLUDED
  27. /* Enabling traces. */
  28. #ifndef YYDEBUG
  29. # define YYDEBUG 0
  30. #endif
  31. #if YYDEBUG
  32. extern int yydebug;
  33. #endif
  34. /* Tokens. */
  35. #ifndef YYTOKENTYPE
  36. # define YYTOKENTYPE
  37. /* Put the tokens into the symbol table, so that GDB and other debuggers
  38. know about them. */
  39. enum yytokentype {
  40. DT_V1 = 258,
  41. DT_MEMRESERVE = 259,
  42. DT_LSHIFT = 260,
  43. DT_RSHIFT = 261,
  44. DT_LE = 262,
  45. DT_GE = 263,
  46. DT_EQ = 264,
  47. DT_NE = 265,
  48. DT_AND = 266,
  49. DT_OR = 267,
  50. DT_BITS = 268,
  51. DT_DEL_PROP = 269,
  52. DT_DEL_NODE = 270,
  53. DT_PROPNODENAME = 271,
  54. DT_LITERAL = 272,
  55. DT_CHAR_LITERAL = 273,
  56. DT_BASE = 274,
  57. DT_BYTE = 275,
  58. DT_STRING = 276,
  59. DT_LABEL = 277,
  60. DT_REF = 278,
  61. DT_INCBIN = 279
  62. };
  63. #endif
  64. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  65. typedef union YYSTYPE
  66. {
  67. /* Line 2053 of yacc.c */
  68. #line 40 "dtc-parser.y"
  69. char *propnodename;
  70. char *literal;
  71. char *labelref;
  72. unsigned int cbase;
  73. uint8_t byte;
  74. struct data data;
  75. struct {
  76. struct data data;
  77. int bits;
  78. } array;
  79. struct property *prop;
  80. struct property *proplist;
  81. struct node *node;
  82. struct node *nodelist;
  83. struct reserve_info *re;
  84. uint64_t integer;
  85. /* Line 2053 of yacc.c */
  86. #line 103 "dtc-parser.tab.h"
  87. } YYSTYPE;
  88. # define YYSTYPE_IS_TRIVIAL 1
  89. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  90. # define YYSTYPE_IS_DECLARED 1
  91. #endif
  92. extern YYSTYPE yylval;
  93. #ifdef YYPARSE_PARAM
  94. #if defined __STDC__ || defined __cplusplus
  95. int yyparse (void *YYPARSE_PARAM);
  96. #else
  97. int yyparse ();
  98. #endif
  99. #else /* ! YYPARSE_PARAM */
  100. #if defined __STDC__ || defined __cplusplus
  101. int yyparse (void);
  102. #else
  103. int yyparse ();
  104. #endif
  105. #endif /* ! YYPARSE_PARAM */
  106. #endif /* !YY_YY_DTC_PARSER_TAB_H_INCLUDED */