parse.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. CHAR = 258,
  35. NUMBER = 259,
  36. SECTEND = 260,
  37. SCDECL = 261,
  38. XSCDECL = 262,
  39. NAME = 263,
  40. PREVCCL = 264,
  41. EOF_OP = 265,
  42. OPTION_OP = 266,
  43. OPT_OUTFILE = 267,
  44. OPT_PREFIX = 268,
  45. OPT_YYCLASS = 269,
  46. CCE_ALNUM = 270,
  47. CCE_ALPHA = 271,
  48. CCE_BLANK = 272,
  49. CCE_CNTRL = 273,
  50. CCE_DIGIT = 274,
  51. CCE_GRAPH = 275,
  52. CCE_LOWER = 276,
  53. CCE_PRINT = 277,
  54. CCE_PUNCT = 278,
  55. CCE_SPACE = 279,
  56. CCE_UPPER = 280,
  57. CCE_XDIGIT = 281
  58. };
  59. #endif
  60. /* Tokens. */
  61. #define CHAR 258
  62. #define NUMBER 259
  63. #define SECTEND 260
  64. #define SCDECL 261
  65. #define XSCDECL 262
  66. #define NAME 263
  67. #define PREVCCL 264
  68. #define EOF_OP 265
  69. #define OPTION_OP 266
  70. #define OPT_OUTFILE 267
  71. #define OPT_PREFIX 268
  72. #define OPT_YYCLASS 269
  73. #define CCE_ALNUM 270
  74. #define CCE_ALPHA 271
  75. #define CCE_BLANK 272
  76. #define CCE_CNTRL 273
  77. #define CCE_DIGIT 274
  78. #define CCE_GRAPH 275
  79. #define CCE_LOWER 276
  80. #define CCE_PRINT 277
  81. #define CCE_PUNCT 278
  82. #define CCE_SPACE 279
  83. #define CCE_UPPER 280
  84. #define CCE_XDIGIT 281
  85. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  86. typedef int YYSTYPE;
  87. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  88. # define YYSTYPE_IS_DECLARED 1
  89. # define YYSTYPE_IS_TRIVIAL 1
  90. #endif
  91. extern YYSTYPE yylval;