mosesdecoder/jam-files/engine/jamgram.h
2012-10-22 10:20:12 +01:00

150 lines
3.9 KiB
C

/* A Bison parser, made by GNU Bison 2.4.3. */
/* Skeleton interface for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
2009, 2010 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. */
/* 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 {
_BANG_t = 258,
_BANG_EQUALS_t = 259,
_AMPER_t = 260,
_AMPERAMPER_t = 261,
_LPAREN_t = 262,
_RPAREN_t = 263,
_PLUS_EQUALS_t = 264,
_COLON_t = 265,
_SEMIC_t = 266,
_LANGLE_t = 267,
_LANGLE_EQUALS_t = 268,
_EQUALS_t = 269,
_RANGLE_t = 270,
_RANGLE_EQUALS_t = 271,
_QUESTION_EQUALS_t = 272,
_LBRACKET_t = 273,
_RBRACKET_t = 274,
ACTIONS_t = 275,
BIND_t = 276,
CASE_t = 277,
CLASS_t = 278,
DEFAULT_t = 279,
ELSE_t = 280,
EXISTING_t = 281,
FOR_t = 282,
IF_t = 283,
IGNORE_t = 284,
IN_t = 285,
INCLUDE_t = 286,
LOCAL_t = 287,
MODULE_t = 288,
ON_t = 289,
PIECEMEAL_t = 290,
QUIETLY_t = 291,
RETURN_t = 292,
RULE_t = 293,
SWITCH_t = 294,
TOGETHER_t = 295,
UPDATED_t = 296,
WHILE_t = 297,
_LBRACE_t = 298,
_BAR_t = 299,
_BARBAR_t = 300,
_RBRACE_t = 301,
ARG = 302,
STRING = 303
};
#endif
/* Tokens. */
#define _BANG_t 258
#define _BANG_EQUALS_t 259
#define _AMPER_t 260
#define _AMPERAMPER_t 261
#define _LPAREN_t 262
#define _RPAREN_t 263
#define _PLUS_EQUALS_t 264
#define _COLON_t 265
#define _SEMIC_t 266
#define _LANGLE_t 267
#define _LANGLE_EQUALS_t 268
#define _EQUALS_t 269
#define _RANGLE_t 270
#define _RANGLE_EQUALS_t 271
#define _QUESTION_EQUALS_t 272
#define _LBRACKET_t 273
#define _RBRACKET_t 274
#define ACTIONS_t 275
#define BIND_t 276
#define CASE_t 277
#define CLASS_t 278
#define DEFAULT_t 279
#define ELSE_t 280
#define EXISTING_t 281
#define FOR_t 282
#define IF_t 283
#define IGNORE_t 284
#define IN_t 285
#define INCLUDE_t 286
#define LOCAL_t 287
#define MODULE_t 288
#define ON_t 289
#define PIECEMEAL_t 290
#define QUIETLY_t 291
#define RETURN_t 292
#define RULE_t 293
#define SWITCH_t 294
#define TOGETHER_t 295
#define UPDATED_t 296
#define WHILE_t 297
#define _LBRACE_t 298
#define _BAR_t 299
#define _BARBAR_t 300
#define _RBRACE_t 301
#define ARG 302
#define STRING 303
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef int YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE yylval;