grammar.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. TOK_BOOLEAN = 258,
  33. TOK_INTEGER = 259,
  34. TOK_HEX = 260,
  35. TOK_INTEGER64 = 261,
  36. TOK_HEX64 = 262,
  37. TOK_FLOAT = 263,
  38. TOK_STRING = 264,
  39. TOK_NAME = 265,
  40. TOK_EQUALS = 266,
  41. TOK_NEWLINE = 267,
  42. TOK_ARRAY_START = 268,
  43. TOK_ARRAY_END = 269,
  44. TOK_LIST_START = 270,
  45. TOK_LIST_END = 271,
  46. TOK_COMMA = 272,
  47. TOK_GROUP_START = 273,
  48. TOK_GROUP_END = 274,
  49. TOK_SEMICOLON = 275,
  50. TOK_GARBAGE = 276,
  51. TOK_ERROR = 277
  52. };
  53. #endif
  54. /* Tokens. */
  55. #define TOK_BOOLEAN 258
  56. #define TOK_INTEGER 259
  57. #define TOK_HEX 260
  58. #define TOK_INTEGER64 261
  59. #define TOK_HEX64 262
  60. #define TOK_FLOAT 263
  61. #define TOK_STRING 264
  62. #define TOK_NAME 265
  63. #define TOK_EQUALS 266
  64. #define TOK_NEWLINE 267
  65. #define TOK_ARRAY_START 268
  66. #define TOK_ARRAY_END 269
  67. #define TOK_LIST_START 270
  68. #define TOK_LIST_END 271
  69. #define TOK_COMMA 272
  70. #define TOK_GROUP_START 273
  71. #define TOK_GROUP_END 274
  72. #define TOK_SEMICOLON 275
  73. #define TOK_GARBAGE 276
  74. #define TOK_ERROR 277
  75. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  76. typedef union YYSTYPE
  77. {
  78. /* Line 1676 of yacc.c */
  79. #line 85 "grammar.y"
  80. int ival;
  81. long long llval;
  82. double fval;
  83. char *sval;
  84. /* Line 1676 of yacc.c */
  85. #line 105 "grammar.h"
  86. } YYSTYPE;
  87. # define YYSTYPE_IS_TRIVIAL 1
  88. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  89. # define YYSTYPE_IS_DECLARED 1
  90. #endif