summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_parser.h
diff options
context:
space:
mode:
authorkrakjoe <joe.watkins@live.co.uk>2014-10-26 07:24:35 +0000
committerBob Weinand <bobwei9@hotmail.com>2014-10-27 00:00:14 +0100
commit41537cdddc71a6e499f1c7c118bf862105ff95fa (patch)
tree5d16f658461d73ec3d4d4dcb02977b6dc1e01238 /sapi/phpdbg/phpdbg_parser.h
parent51c1cc4ff5a1ae1606d07de79db07d9d826378cf (diff)
downloadphp-git-41537cdddc71a6e499f1c7c118bf862105ff95fa.tar.gz
remove dodgy param parser, bring userland breakpoint api inline with PHP7
Diffstat (limited to 'sapi/phpdbg/phpdbg_parser.h')
-rw-r--r--sapi/phpdbg/phpdbg_parser.h39
1 files changed, 29 insertions, 10 deletions
diff --git a/sapi/phpdbg/phpdbg_parser.h b/sapi/phpdbg/phpdbg_parser.h
index dfa155d718..4cd8ed6d00 100644
--- a/sapi/phpdbg/phpdbg_parser.h
+++ b/sapi/phpdbg/phpdbg_parser.h
@@ -1,8 +1,8 @@
-/* A Bison parser, made by GNU Bison 2.5. */
+/* A Bison parser, made by GNU Bison 2.7. */
/* Bison interface for Yacc-like parsers in C
- Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
+ Copyright (C) 1984, 1989-1990, 2000-2012 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,10 +30,18 @@
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
+#ifndef YY_PHPDBG_SAPI_PHPDBG_PHPDBG_PARSER_H_INCLUDED
+# define YY_PHPDBG_SAPI_PHPDBG_PHPDBG_PARSER_H_INCLUDED
+/* Enabling traces. */
+#ifndef YYDEBUG
+# define YYDEBUG 0
+#endif
+#if YYDEBUG
+extern int phpdbg_debug;
+#endif
/* "%code requires" blocks. */
-
-/* Line 2068 of yacc.c */
-#line 31 "/root/php-src-xml-data-phpdbg/sapi/phpdbg/phpdbg_parser.y"
+/* Line 2058 of yacc.c */
+#line 31 "/usr/src/php-src/sapi/phpdbg/phpdbg_parser.y"
#include "phpdbg.h"
#ifndef YY_TYPEDEF_YY_SCANNER_T
@@ -42,9 +50,8 @@ typedef void* yyscan_t;
#endif
-
-/* Line 2068 of yacc.c */
-#line 48 "sapi/phpdbg/phpdbg_parser.h"
+/* Line 2058 of yacc.c */
+#line 55 "sapi/phpdbg/phpdbg_parser.h"
/* Tokens. */
#ifndef YYTOKENTYPE
@@ -96,7 +103,6 @@ typedef void* yyscan_t;
-
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef int YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
@@ -105,5 +111,18 @@ typedef int YYSTYPE;
#endif
+#ifdef YYPARSE_PARAM
+#if defined __STDC__ || defined __cplusplus
+int phpdbg_parse (void *YYPARSE_PARAM);
+#else
+int phpdbg_parse ();
+#endif
+#else /* ! YYPARSE_PARAM */
+#if defined __STDC__ || defined __cplusplus
+int phpdbg_parse (void *tsrm_ls);
+#else
+int phpdbg_parse ();
+#endif
+#endif /* ! YYPARSE_PARAM */
-
+#endif /* !YY_PHPDBG_SAPI_PHPDBG_PHPDBG_PARSER_H_INCLUDED */