123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- /* A Bison parser, made by GNU Bison 2.3. */
-
- /* Skeleton interface for Bison's Yacc-like parsers in C
-
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
- Free Software Foundation, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA. */
-
- /* As a special exception, you may create a larger work that contains
- part or all of the Bison parser skeleton and distribute that work
- under terms of your choice, so long as that work isn't itself a
- parser generator using the skeleton or a modified version thereof
- as a parser skeleton. Alternatively, if you modify or redistribute
- the parser skeleton itself, you may (at your option) remove this
- special exception, which will cause the skeleton and the resulting
- Bison output files to be licensed under the GNU General Public
- License without this special exception.
-
- This special exception was added by the Free Software Foundation in
- version 2.2 of Bison. */
-
- /* Tokens. */
- #ifndef YYTOKENTYPE
- # define YYTOKENTYPE
- /* Put the tokens into the symbol table, so that GDB and other debuggers
- know about them. */
- enum yytokentype {
- tENTIER = 258,
- tENTIEREXP = 259,
- tADD = 260,
- tSUB = 261,
- tMUL = 262,
- tDIV = 263,
- tPO = 264,
- tPF = 265,
- tAO = 266,
- tAF = 267,
- tERROR = 268,
- tAPPERSAND = 269,
- tPV = 270,
- tVIRGULE = 271,
- tAFFECTATION = 272,
- tEGAL = 273,
- tDIFF = 274,
- tLT = 275,
- tGT = 276,
- tGTE = 277,
- tLTE = 278,
- tMAIN = 279,
- tINT = 280,
- tPRINT = 281,
- tRETURN = 282,
- tOR = 283,
- tAND = 284,
- tIF = 285,
- tELSE = 286,
- tWHILE = 287,
- tCONST = 288,
- tVAR = 289,
- tNOT = 290
- };
- #endif
- /* Tokens. */
- #define tENTIER 258
- #define tENTIEREXP 259
- #define tADD 260
- #define tSUB 261
- #define tMUL 262
- #define tDIV 263
- #define tPO 264
- #define tPF 265
- #define tAO 266
- #define tAF 267
- #define tERROR 268
- #define tAPPERSAND 269
- #define tPV 270
- #define tVIRGULE 271
- #define tAFFECTATION 272
- #define tEGAL 273
- #define tDIFF 274
- #define tLT 275
- #define tGT 276
- #define tGTE 277
- #define tLTE 278
- #define tMAIN 279
- #define tINT 280
- #define tPRINT 281
- #define tRETURN 282
- #define tOR 283
- #define tAND 284
- #define tIF 285
- #define tELSE 286
- #define tWHILE 287
- #define tCONST 288
- #define tVAR 289
- #define tNOT 290
-
-
-
-
- #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
- typedef union YYSTYPE
- #line 1 "analyse_syntaxique.y"
- {
- int nombre;
- char id[30];
- }
- /* Line 1529 of yacc.c. */
- #line 124 "analyse_syntaxique.tab.h"
- YYSTYPE;
- # define yystype YYSTYPE /* obsolescent; will be withdrawn */
- # define YYSTYPE_IS_DECLARED 1
- # define YYSTYPE_IS_TRIVIAL 1
- #endif
-
- extern YYSTYPE yylval;
|