Merge branch 'PHP-7.4'

* PHP-7.4:
  Upgrade deprecated directives and use non-posix bison
This commit is contained in:
Peter Kokot 2019-03-19 20:29:36 +01:00
commit 1f150b5b96
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ int json_yydebug = 1;
}
%pure-parser
%name-prefix "php_json_yy"
%define api.prefix {php_json_yy}
%lex-param { php_json_parser *parser }
%parse-param { php_json_parser *parser }

View File

@ -29,7 +29,7 @@ ZEND_EXTERN_MODULE_GLOBALS(phpdbg)
%}
%pure-parser
%error-verbose
%define parse.error verbose
%code requires {
#include "phpdbg.h"

View File

@ -35,7 +35,7 @@
# Parser generator
YACC=${YACC:-bison}
YACC="$YACC -y -l"
YACC="$YACC -l"
# Lexer generator
RE2C=${RE2C:-re2c}