~ubuntu-branches/ubuntu/precise/dicelab/precise

« back to all changes in this revision

Viewing changes to par.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Lemmen
  • Date: 2007-12-10 17:06:15 UTC
  • Revision ID: james.westby@ubuntu.com-20071210170615-q1av8grz0vjiv397
Tags: upstream-0.5
ImportĀ upstreamĀ versionĀ 0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
     NUMBER = 258,
 
43
     VARIABLE = 259,
 
44
     IN = 260,
 
45
     DO = 261,
 
46
     WHILE = 262,
 
47
     ELSE = 263,
 
48
     RANGE = 264,
 
49
     EQ = 265,
 
50
     NE = 266,
 
51
     LT = 267,
 
52
     GT = 268,
 
53
     LE = 269,
 
54
     GE = 270,
 
55
     SUM = 271,
 
56
     PROD = 272,
 
57
     COUNT = 273,
 
58
     LOW = 274,
 
59
     HIGH = 275,
 
60
     DICE = 276,
 
61
     PERM = 277,
 
62
     SORT = 278,
 
63
     REV = 279,
 
64
     DROP = 280,
 
65
     KEEP = 281,
 
66
     FIRST = 282,
 
67
     LAST = 283,
 
68
     LET = 284,
 
69
     FOREACH = 285,
 
70
     IF = 286,
 
71
     THEN = 287
 
72
   };
 
73
#endif
 
74
/* Tokens.  */
 
75
#define NUMBER 258
 
76
#define VARIABLE 259
 
77
#define IN 260
 
78
#define DO 261
 
79
#define WHILE 262
 
80
#define ELSE 263
 
81
#define RANGE 264
 
82
#define EQ 265
 
83
#define NE 266
 
84
#define LT 267
 
85
#define GT 268
 
86
#define LE 269
 
87
#define GE 270
 
88
#define SUM 271
 
89
#define PROD 272
 
90
#define COUNT 273
 
91
#define LOW 274
 
92
#define HIGH 275
 
93
#define DICE 276
 
94
#define PERM 277
 
95
#define SORT 278
 
96
#define REV 279
 
97
#define DROP 280
 
98
#define KEEP 281
 
99
#define FIRST 282
 
100
#define LAST 283
 
101
#define LET 284
 
102
#define FOREACH 285
 
103
#define IF 286
 
104
#define THEN 287
 
105
 
 
106
 
 
107
 
 
108
 
 
109
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
 
110
typedef union YYSTYPE
 
111
#line 76 "par.y"
 
112
{
 
113
        int ival;
 
114
        char *tval;
 
115
        expression *expr;
 
116
}
 
117
/* Line 1489 of yacc.c.  */
 
118
#line 119 "par.h"
 
119
        YYSTYPE;
 
120
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
 
121
# define YYSTYPE_IS_DECLARED 1
 
122
# define YYSTYPE_IS_TRIVIAL 1
 
123
#endif
 
124
 
 
125
extern YYSTYPE yylval;
 
126