summaryrefslogtreecommitdiff
path: root/phpdbg_parser.h
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2014-06-08 20:34:30 +0000
committerBob Weinand <bobwei9@hotmail.com>2014-06-08 20:34:30 +0000
commit4c79fe6afa25c87f89b46d48968fdaf36b085f8c (patch)
tree33df9fedb4e0eb1cba0b566ecb594fb2ccd22b7a /phpdbg_parser.h
parent7b9367971d9523bc53d44cbe71498a95bd5e523b (diff)
downloadphp-git-4c79fe6afa25c87f89b46d48968fdaf36b085f8c.tar.gz
Updated parser & leer to be usable with re2c
Fixes some weird temporary compilation errors too
Diffstat (limited to 'phpdbg_parser.h')
-rw-r--r--phpdbg_parser.h39
1 files changed, 10 insertions, 29 deletions
diff --git a/phpdbg_parser.h b/phpdbg_parser.h
index 6acb8963c9..3f1eb5cd49 100644
--- a/phpdbg_parser.h
+++ b/phpdbg_parser.h
@@ -1,8 +1,8 @@
-/* A Bison parser, made by GNU Bison 2.7. */
+/* A Bison parser, made by GNU Bison 2.5. */
/* Bison interface for Yacc-like parsers in C
- Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
+ Copyright (C) 1984, 1989-1990, 2000-2011 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
@@ -30,18 +30,10 @@
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
-#ifndef YY_YY_SAPI_PHPDBG_PHPDBG_PARSER_H_INCLUDED
-# define YY_YY_SAPI_PHPDBG_PHPDBG_PARSER_H_INCLUDED
-/* Enabling traces. */
-#ifndef YYDEBUG
-# define YYDEBUG 0
-#endif
-#if YYDEBUG
-extern int yydebug;
-#endif
/* "%code requires" blocks. */
-/* Line 2058 of yacc.c */
-#line 40 "/usr/src/php-src/sapi/phpdbg/phpdbg_parser.y"
+
+/* Line 2068 of yacc.c */
+#line 31 "/home/pi/php-src/sapi/phpdbg/phpdbg_parser.y"
#include "phpdbg.h"
#ifndef YY_TYPEDEF_YY_SCANNER_T
@@ -50,8 +42,9 @@ typedef void* yyscan_t;
#endif
-/* Line 2058 of yacc.c */
-#line 55 "sapi/phpdbg/phpdbg_parser.h"
+
+/* Line 2068 of yacc.c */
+#line 48 "sapi/phpdbg/phpdbg_parser.h"
/* Tokens. */
#ifndef YYTOKENTYPE
@@ -101,6 +94,7 @@ typedef void* yyscan_t;
+
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef int YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
@@ -109,18 +103,5 @@ typedef int YYSTYPE;
#endif
-#ifdef YYPARSE_PARAM
-#if defined __STDC__ || defined __cplusplus
-int yyparse (void *YYPARSE_PARAM);
-#else
-int yyparse ();
-#endif
-#else /* ! YYPARSE_PARAM */
-#if defined __STDC__ || defined __cplusplus
-int yyparse (phpdbg_param_t *stack, yyscan_t scanner);
-#else
-int yyparse ();
-#endif
-#endif /* ! YYPARSE_PARAM */
-#endif /* !YY_YY_SAPI_PHPDBG_PHPDBG_PARSER_H_INCLUDED */
+