dtc-parser.tab.h_shipped 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /* A Bison parser, made by GNU Bison 2.4.1. */
  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 3 of the License, or
  8. (at your option) 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, see <http://www.gnu.org/licenses/>. */
  15. /* As a special exception, you may create a larger work that contains
  16. part or all of the Bison parser skeleton and distribute that work
  17. under terms of your choice, so long as that work isn't itself a
  18. parser generator using the skeleton or a modified version thereof
  19. as a parser skeleton. Alternatively, if you modify or redistribute
  20. the parser skeleton itself, you may (at your option) remove this
  21. special exception, which will cause the skeleton and the resulting
  22. Bison output files to be licensed under the GNU General Public
  23. License without this special exception.
  24. This special exception was added by the Free Software Foundation in
  25. version 2.2 of Bison. */
  26. /* Tokens. */
  27. #ifndef YYTOKENTYPE
  28. # define YYTOKENTYPE
  29. /* Put the tokens into the symbol table, so that GDB and other debuggers
  30. know about them. */
  31. enum yytokentype {
  32. DT_V1 = 258,
  33. DT_MEMRESERVE = 259,
  34. DT_PROPNODENAME = 260,
  35. DT_LITERAL = 261,
  36. DT_BASE = 262,
  37. DT_BYTE = 263,
  38. DT_STRING = 264,
  39. DT_LABEL = 265,
  40. DT_REF = 266,
  41. DT_INCBIN = 267
  42. };
  43. #endif
  44. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  45. typedef union YYSTYPE
  46. {
  47. /* Line 1676 of yacc.c */
  48. #line 39 "dtc-parser.y"
  49. char *propnodename;
  50. char *literal;
  51. char *labelref;
  52. unsigned int cbase;
  53. uint8_t byte;
  54. struct data data;
  55. uint64_t addr;
  56. cell_t cell;
  57. struct property *prop;
  58. struct property *proplist;
  59. struct node *node;
  60. struct node *nodelist;
  61. struct reserve_info *re;
  62. /* Line 1676 of yacc.c */
  63. #line 83 "dtc-parser.tab.h"
  64. } YYSTYPE;
  65. # define YYSTYPE_IS_TRIVIAL 1
  66. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  67. # define YYSTYPE_IS_DECLARED 1
  68. #endif
  69. extern YYSTYPE yylval;