mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Merge branch 'PHP-7.4'
* PHP-7.4: Upgrade deprecated directives and use non-posix bison
This commit is contained in:
commit
1f150b5b96
@ -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 }
|
||||
|
||||
|
@ -29,7 +29,7 @@ ZEND_EXTERN_MODULE_GLOBALS(phpdbg)
|
||||
%}
|
||||
|
||||
%pure-parser
|
||||
%error-verbose
|
||||
%define parse.error verbose
|
||||
|
||||
%code requires {
|
||||
#include "phpdbg.h"
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
# Parser generator
|
||||
YACC=${YACC:-bison}
|
||||
YACC="$YACC -y -l"
|
||||
YACC="$YACC -l"
|
||||
|
||||
# Lexer generator
|
||||
RE2C=${RE2C:-re2c}
|
||||
|
Loading…
Reference in New Issue
Block a user