version 1.1, 2012/02/21 23:47:52
|
version 1.1.1.3, 2013/10/14 08:02:48
|
Line 1
|
Line 1
|
|
/* A Bison parser, made by GNU Bison 2.7. */ |
|
|
/* A Bison parser, made by GNU Bison 2.4.1. */ | /* Bison interface for Yacc-like parsers in C |
| |
/* Skeleton interface for Bison's Yacc-like parsers in C | |
|
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc. |
Free Software Foundation, Inc. | |
|
|
This program is free software: you can redistribute it and/or modify |
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 |
it under the terms of the GNU General Public License as published by |
Line 32
|
Line 30
|
This special exception was added by the Free Software Foundation in |
This special exception was added by the Free Software Foundation in |
version 2.2 of Bison. */ |
version 2.2 of Bison. */ |
|
|
|
#ifndef YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED |
|
# define YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED |
|
/* Enabling traces. */ |
|
#ifndef YYDEBUG |
|
# define YYDEBUG 0 |
|
#endif |
|
#if YYDEBUG |
|
extern int zenddebug; |
|
#endif |
|
/* "%code requires" blocks. */ |
|
|
|
|
|
#ifdef ZTS |
|
# define YYPARSE_PARAM tsrm_ls |
|
# define YYLEX_PARAM tsrm_ls |
|
#endif |
|
|
|
|
|
|
|
|
/* Tokens. */ |
/* Tokens. */ |
#ifndef YYTOKENTYPE |
#ifndef YYTOKENTYPE |
# define YYTOKENTYPE |
# define YYTOKENTYPE |
/* Put the tokens into the symbol table, so that GDB and other debuggers |
/* Put the tokens into the symbol table, so that GDB and other debuggers |
know about them. */ |
know about them. */ |
enum yytokentype { |
enum yytokentype { |
|
END = 0, |
T_REQUIRE_ONCE = 258, |
T_REQUIRE_ONCE = 258, |
T_REQUIRE = 259, |
T_REQUIRE = 259, |
T_EVAL = 260, |
T_EVAL = 260, |
Line 122
|
Line 140
|
T_CATCH = 338, |
T_CATCH = 338, |
T_THROW = 339, |
T_THROW = 339, |
T_USE = 340, |
T_USE = 340, |
T_GLOBAL = 341, | T_INSTEADOF = 341, |
T_PUBLIC = 342, | T_GLOBAL = 342, |
T_PROTECTED = 343, | T_PUBLIC = 343, |
T_PRIVATE = 344, | T_PROTECTED = 344, |
T_FINAL = 345, | T_PRIVATE = 345, |
T_ABSTRACT = 346, | T_FINAL = 346, |
T_STATIC = 347, | T_ABSTRACT = 347, |
T_VAR = 348, | T_STATIC = 348, |
T_UNSET = 349, | T_VAR = 349, |
T_ISSET = 350, | T_UNSET = 350, |
T_EMPTY = 351, | T_ISSET = 351, |
T_HALT_COMPILER = 352, | T_EMPTY = 352, |
T_CLASS = 353, | T_HALT_COMPILER = 353, |
T_INTERFACE = 354, | T_CLASS = 354, |
T_EXTENDS = 355, | T_TRAIT = 355, |
T_IMPLEMENTS = 356, | T_INTERFACE = 356, |
T_OBJECT_OPERATOR = 357, | T_EXTENDS = 357, |
T_DOUBLE_ARROW = 358, | T_IMPLEMENTS = 358, |
T_LIST = 359, | T_OBJECT_OPERATOR = 359, |
T_ARRAY = 360, | T_DOUBLE_ARROW = 360, |
T_CLASS_C = 361, | T_LIST = 361, |
T_METHOD_C = 362, | T_ARRAY = 362, |
T_FUNC_C = 363, | T_CALLABLE = 363, |
T_LINE = 364, | T_CLASS_C = 364, |
T_FILE = 365, | T_TRAIT_C = 365, |
T_COMMENT = 366, | T_METHOD_C = 366, |
T_DOC_COMMENT = 367, | T_FUNC_C = 367, |
T_OPEN_TAG = 368, | T_LINE = 368, |
T_OPEN_TAG_WITH_ECHO = 369, | T_FILE = 369, |
T_CLOSE_TAG = 370, | T_COMMENT = 370, |
T_WHITESPACE = 371, | T_DOC_COMMENT = 371, |
T_START_HEREDOC = 372, | T_OPEN_TAG = 372, |
T_END_HEREDOC = 373, | T_OPEN_TAG_WITH_ECHO = 373, |
T_DOLLAR_OPEN_CURLY_BRACES = 374, | T_CLOSE_TAG = 374, |
T_CURLY_OPEN = 375, | T_WHITESPACE = 375, |
T_PAAMAYIM_NEKUDOTAYIM = 376, | T_START_HEREDOC = 376, |
T_NAMESPACE = 377, | T_END_HEREDOC = 377, |
T_NS_C = 378, | T_DOLLAR_OPEN_CURLY_BRACES = 378, |
T_DIR = 379, | T_CURLY_OPEN = 379, |
T_NS_SEPARATOR = 380 | T_PAAMAYIM_NEKUDOTAYIM = 380, |
| T_NAMESPACE = 381, |
| T_NS_C = 382, |
| T_DIR = 383, |
| T_NS_SEPARATOR = 384 |
}; |
}; |
#endif |
#endif |
/* Tokens. */ |
/* Tokens. */ |
|
#define END 0 |
#define T_REQUIRE_ONCE 258 |
#define T_REQUIRE_ONCE 258 |
#define T_REQUIRE 259 |
#define T_REQUIRE 259 |
#define T_EVAL 260 |
#define T_EVAL 260 |
Line 248
|
Line 271
|
#define T_CATCH 338 |
#define T_CATCH 338 |
#define T_THROW 339 |
#define T_THROW 339 |
#define T_USE 340 |
#define T_USE 340 |
#define T_GLOBAL 341 | #define T_INSTEADOF 341 |
#define T_PUBLIC 342 | #define T_GLOBAL 342 |
#define T_PROTECTED 343 | #define T_PUBLIC 343 |
#define T_PRIVATE 344 | #define T_PROTECTED 344 |
#define T_FINAL 345 | #define T_PRIVATE 345 |
#define T_ABSTRACT 346 | #define T_FINAL 346 |
#define T_STATIC 347 | #define T_ABSTRACT 347 |
#define T_VAR 348 | #define T_STATIC 348 |
#define T_UNSET 349 | #define T_VAR 349 |
#define T_ISSET 350 | #define T_UNSET 350 |
#define T_EMPTY 351 | #define T_ISSET 351 |
#define T_HALT_COMPILER 352 | #define T_EMPTY 352 |
#define T_CLASS 353 | #define T_HALT_COMPILER 353 |
#define T_INTERFACE 354 | #define T_CLASS 354 |
#define T_EXTENDS 355 | #define T_TRAIT 355 |
#define T_IMPLEMENTS 356 | #define T_INTERFACE 356 |
#define T_OBJECT_OPERATOR 357 | #define T_EXTENDS 357 |
#define T_DOUBLE_ARROW 358 | #define T_IMPLEMENTS 358 |
#define T_LIST 359 | #define T_OBJECT_OPERATOR 359 |
#define T_ARRAY 360 | #define T_DOUBLE_ARROW 360 |
#define T_CLASS_C 361 | #define T_LIST 361 |
#define T_METHOD_C 362 | #define T_ARRAY 362 |
#define T_FUNC_C 363 | #define T_CALLABLE 363 |
#define T_LINE 364 | #define T_CLASS_C 364 |
#define T_FILE 365 | #define T_TRAIT_C 365 |
#define T_COMMENT 366 | #define T_METHOD_C 366 |
#define T_DOC_COMMENT 367 | #define T_FUNC_C 367 |
#define T_OPEN_TAG 368 | #define T_LINE 368 |
#define T_OPEN_TAG_WITH_ECHO 369 | #define T_FILE 369 |
#define T_CLOSE_TAG 370 | #define T_COMMENT 370 |
#define T_WHITESPACE 371 | #define T_DOC_COMMENT 371 |
#define T_START_HEREDOC 372 | #define T_OPEN_TAG 372 |
#define T_END_HEREDOC 373 | #define T_OPEN_TAG_WITH_ECHO 373 |
#define T_DOLLAR_OPEN_CURLY_BRACES 374 | #define T_CLOSE_TAG 374 |
#define T_CURLY_OPEN 375 | #define T_WHITESPACE 375 |
#define T_PAAMAYIM_NEKUDOTAYIM 376 | #define T_START_HEREDOC 376 |
#define T_NAMESPACE 377 | #define T_END_HEREDOC 377 |
#define T_NS_C 378 | #define T_DOLLAR_OPEN_CURLY_BRACES 378 |
#define T_DIR 379 | #define T_CURLY_OPEN 379 |
#define T_NS_SEPARATOR 380 | #define T_PAAMAYIM_NEKUDOTAYIM 380 |
| #define T_NAMESPACE 381 |
| #define T_NS_C 382 |
| #define T_DIR 383 |
| #define T_NS_SEPARATOR 384 |
|
|
|
|
|
|
|
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
typedef int YYSTYPE; |
typedef int YYSTYPE; |
# define YYSTYPE_IS_TRIVIAL 1 |
# define YYSTYPE_IS_TRIVIAL 1 |
Line 300 typedef int YYSTYPE;
|
Line 326 typedef int YYSTYPE;
|
#endif |
#endif |
|
|
|
|
|
#ifdef YYPARSE_PARAM |
|
#if defined __STDC__ || defined __cplusplus |
|
int zendparse (void *YYPARSE_PARAM); |
|
#else |
|
int zendparse (); |
|
#endif |
|
#else /* ! YYPARSE_PARAM */ |
|
#if defined __STDC__ || defined __cplusplus |
|
int zendparse (void); |
|
#else |
|
int zendparse (); |
|
#endif |
|
#endif /* ! YYPARSE_PARAM */ |
|
|
| #endif /* !YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED */ |