File:  [local] / rpl / rplawk / y.tab.h
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Sep 7 12:53:06 2010 UTC (13 years, 7 months ago) by bertrand
Branches: MAIN
CVS tags: rpl-4_0_19, HEAD
Ajout d'un AWK interne pour éviter des problèmes sur les OS non Unix.

    1: /* A Bison parser, made by GNU Bison 2.3.  */
    2: 
    3: /* Skeleton interface for Bison's Yacc-like parsers in C
    4: 
    5:    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    6:    Free Software Foundation, Inc.
    7: 
    8:    This program is free software; you can redistribute it and/or modify
    9:    it under the terms of the GNU General Public License as published by
   10:    the Free Software Foundation; either version 2, or (at your option)
   11:    any later version.
   12: 
   13:    This program is distributed in the hope that it will be useful,
   14:    but WITHOUT ANY WARRANTY; without even the implied warranty of
   15:    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16:    GNU General Public License for more details.
   17: 
   18:    You should have received a copy of the GNU General Public License
   19:    along with this program; if not, write to the Free Software
   20:    Foundation, Inc., 51 Franklin Street, Fifth Floor,
   21:    Boston, MA 02110-1301, USA.  */
   22: 
   23: /* As a special exception, you may create a larger work that contains
   24:    part or all of the Bison parser skeleton and distribute that work
   25:    under terms of your choice, so long as that work isn't itself a
   26:    parser generator using the skeleton or a modified version thereof
   27:    as a parser skeleton.  Alternatively, if you modify or redistribute
   28:    the parser skeleton itself, you may (at your option) remove this
   29:    special exception, which will cause the skeleton and the resulting
   30:    Bison output files to be licensed under the GNU General Public
   31:    License without this special exception.
   32: 
   33:    This special exception was added by the Free Software Foundation in
   34:    version 2.2 of Bison.  */
   35: 
   36: /* Tokens.  */
   37: #ifndef YYTOKENTYPE
   38: # define YYTOKENTYPE
   39:    /* Put the tokens into the symbol table, so that GDB and other debuggers
   40:       know about them.  */
   41:    enum yytokentype {
   42:      FIRSTTOKEN = 258,
   43:      PROGRAM = 259,
   44:      PASTAT = 260,
   45:      PASTAT2 = 261,
   46:      XBEGIN = 262,
   47:      XEND = 263,
   48:      NL = 264,
   49:      ARRAY = 265,
   50:      MATCH = 266,
   51:      NOTMATCH = 267,
   52:      MATCHOP = 268,
   53:      FINAL = 269,
   54:      DOT = 270,
   55:      ALL = 271,
   56:      CCL = 272,
   57:      NCCL = 273,
   58:      CHAR = 274,
   59:      OR = 275,
   60:      STAR = 276,
   61:      QUEST = 277,
   62:      PLUS = 278,
   63:      EMPTYRE = 279,
   64:      AND = 280,
   65:      BOR = 281,
   66:      APPEND = 282,
   67:      EQ = 283,
   68:      GE = 284,
   69:      GT = 285,
   70:      LE = 286,
   71:      LT = 287,
   72:      NE = 288,
   73:      IN = 289,
   74:      ARG = 290,
   75:      BLTIN = 291,
   76:      BREAK = 292,
   77:      CLOSE = 293,
   78:      CONTINUE = 294,
   79:      DELETE = 295,
   80:      DO = 296,
   81:      EXIT = 297,
   82:      FOR = 298,
   83:      FUNC = 299,
   84:      SUB = 300,
   85:      GSUB = 301,
   86:      IF = 302,
   87:      INDEX = 303,
   88:      LSUBSTR = 304,
   89:      MATCHFCN = 305,
   90:      NEXT = 306,
   91:      NEXTFILE = 307,
   92:      ADD = 308,
   93:      MINUS = 309,
   94:      MULT = 310,
   95:      DIVIDE = 311,
   96:      MOD = 312,
   97:      ASSIGN = 313,
   98:      ASGNOP = 314,
   99:      ADDEQ = 315,
  100:      SUBEQ = 316,
  101:      MULTEQ = 317,
  102:      DIVEQ = 318,
  103:      MODEQ = 319,
  104:      POWEQ = 320,
  105:      PRINT = 321,
  106:      PRINTF = 322,
  107:      SPRINTF = 323,
  108:      ELSE = 324,
  109:      INTEST = 325,
  110:      CONDEXPR = 326,
  111:      POSTINCR = 327,
  112:      PREINCR = 328,
  113:      POSTDECR = 329,
  114:      PREDECR = 330,
  115:      VAR = 331,
  116:      IVAR = 332,
  117:      VARNF = 333,
  118:      CALL = 334,
  119:      NUMBER = 335,
  120:      STRING = 336,
  121:      REGEXPR = 337,
  122:      GETLINE = 338,
  123:      SUBSTR = 339,
  124:      SPLIT = 340,
  125:      RETURN = 341,
  126:      WHILE = 342,
  127:      CAT = 343,
  128:      UMINUS = 344,
  129:      NOT = 345,
  130:      POWER = 346,
  131:      INCR = 347,
  132:      DECR = 348,
  133:      INDIRECT = 349,
  134:      LASTTOKEN = 350
  135:    };
  136: #endif
  137: /* Tokens.  */
  138: #define FIRSTTOKEN 258
  139: #define PROGRAM 259
  140: #define PASTAT 260
  141: #define PASTAT2 261
  142: #define XBEGIN 262
  143: #define XEND 263
  144: #define NL 264
  145: #define ARRAY 265
  146: #define MATCH 266
  147: #define NOTMATCH 267
  148: #define MATCHOP 268
  149: #define FINAL 269
  150: #define DOT 270
  151: #define ALL 271
  152: #define CCL 272
  153: #define NCCL 273
  154: #define CHAR 274
  155: #define OR 275
  156: #define STAR 276
  157: #define QUEST 277
  158: #define PLUS 278
  159: #define EMPTYRE 279
  160: #define AND 280
  161: #define BOR 281
  162: #define APPEND 282
  163: #define EQ 283
  164: #define GE 284
  165: #define GT 285
  166: #define LE 286
  167: #define LT 287
  168: #define NE 288
  169: #define IN 289
  170: #define ARG 290
  171: #define BLTIN 291
  172: #define BREAK 292
  173: #define CLOSE 293
  174: #define CONTINUE 294
  175: #define DELETE 295
  176: #define DO 296
  177: #define EXIT 297
  178: #define FOR 298
  179: #define FUNC 299
  180: #define SUB 300
  181: #define GSUB 301
  182: #define IF 302
  183: #define INDEX 303
  184: #define LSUBSTR 304
  185: #define MATCHFCN 305
  186: #define NEXT 306
  187: #define NEXTFILE 307
  188: #define ADD 308
  189: #define MINUS 309
  190: #define MULT 310
  191: #define DIVIDE 311
  192: #define MOD 312
  193: #define ASSIGN 313
  194: #define ASGNOP 314
  195: #define ADDEQ 315
  196: #define SUBEQ 316
  197: #define MULTEQ 317
  198: #define DIVEQ 318
  199: #define MODEQ 319
  200: #define POWEQ 320
  201: #define PRINT 321
  202: #define PRINTF 322
  203: #define SPRINTF 323
  204: #define ELSE 324
  205: #define INTEST 325
  206: #define CONDEXPR 326
  207: #define POSTINCR 327
  208: #define PREINCR 328
  209: #define POSTDECR 329
  210: #define PREDECR 330
  211: #define VAR 331
  212: #define IVAR 332
  213: #define VARNF 333
  214: #define CALL 334
  215: #define NUMBER 335
  216: #define STRING 336
  217: #define REGEXPR 337
  218: #define GETLINE 338
  219: #define SUBSTR 339
  220: #define SPLIT 340
  221: #define RETURN 341
  222: #define WHILE 342
  223: #define CAT 343
  224: #define UMINUS 344
  225: #define NOT 345
  226: #define POWER 346
  227: #define INCR 347
  228: #define DECR 348
  229: #define INDIRECT 349
  230: #define LASTTOKEN 350
  231: 
  232: 
  233: 
  234: 
  235: #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  236: typedef union YYSTYPE
  237: #line 41 "awkgram.y"
  238: {
  239:     Node    *p;
  240:     Cell    *cp;
  241:     int i;
  242:     char    *s;
  243: }
  244: /* Line 1489 of yacc.c.  */
  245: #line 246 "y.tab.h"
  246:     YYSTYPE;
  247: # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  248: # define YYSTYPE_IS_DECLARED 1
  249: # define YYSTYPE_IS_TRIVIAL 1
  250: #endif
  251: 
  252: extern YYSTYPE yylval;
  253: 

CVSweb interface <joel.bertrand@systella.fr>