dtc-parser.tab.h_shipped 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. DT_V1 = 258,
  35. DT_MEMRESERVE = 259,
  36. DT_PROPNODENAME = 260,
  37. DT_LITERAL = 261,
  38. DT_LEGACYLITERAL = 262,
  39. DT_BASE = 263,
  40. DT_BYTE = 264,
  41. DT_STRING = 265,
  42. DT_LABEL = 266,
  43. DT_REF = 267
  44. };
  45. #endif
  46. /* Tokens. */
  47. #define DT_V1 258
  48. #define DT_MEMRESERVE 259
  49. #define DT_PROPNODENAME 260
  50. #define DT_LITERAL 261
  51. #define DT_LEGACYLITERAL 262
  52. #define DT_BASE 263
  53. #define DT_BYTE 264
  54. #define DT_STRING 265
  55. #define DT_LABEL 266
  56. #define DT_REF 267
  57. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  58. typedef union YYSTYPE
  59. #line 34 "dtc-parser.y"
  60. {
  61. char *propnodename;
  62. char *literal;
  63. char *labelref;
  64. unsigned int cbase;
  65. u8 byte;
  66. struct data data;
  67. u64 addr;
  68. cell_t cell;
  69. struct property *prop;
  70. struct property *proplist;
  71. struct node *node;
  72. struct node *nodelist;
  73. struct reserve_info *re;
  74. }
  75. /* Line 1489 of yacc.c. */
  76. #line 90 "dtc-parser.tab.h"
  77. YYSTYPE;
  78. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  79. # define YYSTYPE_IS_DECLARED 1
  80. # define YYSTYPE_IS_TRIVIAL 1
  81. #endif
  82. extern YYSTYPE yylval;
  83. #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
  84. typedef struct YYLTYPE
  85. {
  86. int first_line;
  87. int first_column;
  88. int last_line;
  89. int last_column;
  90. } YYLTYPE;
  91. # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
  92. # define YYLTYPE_IS_DECLARED 1
  93. # define YYLTYPE_IS_TRIVIAL 1
  94. #endif
  95. extern YYLTYPE yylloc;