The Sol Programming Language!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

parser.tab.h 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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_PARSER_TAB_H_INCLUDED
  26. # define YY_YY_PARSER_TAB_H_INCLUDED
  27. /* Enabling traces. */
  28. #ifndef YYDEBUG
  29. # define YYDEBUG 1
  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. IF = 258,
  41. THEN = 259,
  42. ELSE = 260,
  43. WHILE = 261,
  44. FOR = 262,
  45. IN = 263,
  46. DO = 264,
  47. FUNC = 265,
  48. RETURN = 266,
  49. BREAK = 267,
  50. CONTINUE = 268,
  51. END = 269,
  52. NONE = 270,
  53. IDENT = 271,
  54. INT = 272,
  55. FLOAT = 273,
  56. STRING = 274,
  57. PLUS = 275,
  58. MINUS = 276,
  59. STAR = 277,
  60. SLASH = 278,
  61. PERCENT = 279,
  62. DSTAR = 280,
  63. BAND = 281,
  64. BOR = 282,
  65. BXOR = 283,
  66. BNOT = 284,
  67. LAND = 285,
  68. LOR = 286,
  69. LNOT = 287,
  70. ASSIGN = 288,
  71. ASSIGNPLUS = 289,
  72. ASSIGNMINUS = 290,
  73. ASSIGNSTAR = 291,
  74. ASSIGNSLASH = 292,
  75. ASSIGNDSTAR = 293,
  76. ASSIGNBAND = 294,
  77. ASSIGNBOR = 295,
  78. ASSIGNBXOR = 296,
  79. EQUAL = 297,
  80. LESS = 298,
  81. GREATER = 299,
  82. LESSEQ = 300,
  83. GREATEREQ = 301,
  84. RSHIFT = 302,
  85. LSHIFT = 303,
  86. LBRACE = 304,
  87. RBRACE = 305,
  88. LPAREN = 306,
  89. RPAREN = 307,
  90. LBRACKET = 308,
  91. RBRACKET = 309,
  92. DOT = 310,
  93. COLON = 311,
  94. SEMICOLON = 312,
  95. COMMA = 313,
  96. POUND = 314
  97. };
  98. #endif
  99. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  100. typedef int YYSTYPE;
  101. # define YYSTYPE_IS_TRIVIAL 1
  102. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  103. # define YYSTYPE_IS_DECLARED 1
  104. #endif
  105. #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
  106. typedef struct YYLTYPE
  107. {
  108. int first_line;
  109. int first_column;
  110. int last_line;
  111. int last_column;
  112. } YYLTYPE;
  113. # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
  114. # define YYLTYPE_IS_DECLARED 1
  115. # define YYLTYPE_IS_TRIVIAL 1
  116. #endif
  117. #ifdef YYPARSE_PARAM
  118. #if defined __STDC__ || defined __cplusplus
  119. int yyparse (void *YYPARSE_PARAM);
  120. #else
  121. int yyparse ();
  122. #endif
  123. #else /* ! YYPARSE_PARAM */
  124. #if defined __STDC__ || defined __cplusplus
  125. int yyparse (stmt_node **program);
  126. #else
  127. int yyparse ();
  128. #endif
  129. #endif /* ! YYPARSE_PARAM */
  130. #endif /* !YY_YY_PARSER_TAB_H_INCLUDED */