No Description
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.

analyse_syntaxique.tab.h 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. tENTIER = 258,
  35. tENTIEREXP = 259,
  36. tADD = 260,
  37. tSUB = 261,
  38. tMUL = 262,
  39. tDIV = 263,
  40. tPO = 264,
  41. tPF = 265,
  42. tAO = 266,
  43. tAF = 267,
  44. tERROR = 268,
  45. tPV = 269,
  46. tVIRGULE = 270,
  47. tAFFECTATION = 271,
  48. tEGAL = 272,
  49. tDIFF = 273,
  50. tLT = 274,
  51. tGT = 275,
  52. tGTE = 276,
  53. tLTE = 277,
  54. tMAIN = 278,
  55. tINT = 279,
  56. tPRINT = 280,
  57. tRETURN = 281,
  58. tOR = 282,
  59. tAND = 283,
  60. tIF = 284,
  61. tELSE = 285,
  62. tWHILE = 286,
  63. tCONST = 287,
  64. tVAR = 288,
  65. tNOT = 289
  66. };
  67. #endif
  68. /* Tokens. */
  69. #define tENTIER 258
  70. #define tENTIEREXP 259
  71. #define tADD 260
  72. #define tSUB 261
  73. #define tMUL 262
  74. #define tDIV 263
  75. #define tPO 264
  76. #define tPF 265
  77. #define tAO 266
  78. #define tAF 267
  79. #define tERROR 268
  80. #define tPV 269
  81. #define tVIRGULE 270
  82. #define tAFFECTATION 271
  83. #define tEGAL 272
  84. #define tDIFF 273
  85. #define tLT 274
  86. #define tGT 275
  87. #define tGTE 276
  88. #define tLTE 277
  89. #define tMAIN 278
  90. #define tINT 279
  91. #define tPRINT 280
  92. #define tRETURN 281
  93. #define tOR 282
  94. #define tAND 283
  95. #define tIF 284
  96. #define tELSE 285
  97. #define tWHILE 286
  98. #define tCONST 287
  99. #define tVAR 288
  100. #define tNOT 289
  101. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  102. typedef union YYSTYPE
  103. #line 1 "analyse_syntaxique.y"
  104. {
  105. int nombre;
  106. char id[30];
  107. }
  108. /* Line 1529 of yacc.c. */
  109. #line 122 "analyse_syntaxique.tab.h"
  110. YYSTYPE;
  111. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  112. # define YYSTYPE_IS_DECLARED 1
  113. # define YYSTYPE_IS_TRIVIAL 1
  114. #endif
  115. extern YYSTYPE yylval;