]> granicus.if.org Git - php/commit
Upgrade deprecated directives and use non-posix bison
authorPeter Kokot <peterkokot@gmail.com>
Mon, 18 Mar 2019 23:33:53 +0000 (00:33 +0100)
committerPeter Kokot <peterkokot@gmail.com>
Tue, 19 Mar 2019 19:29:20 +0000 (20:29 +0100)
commit864366ef203b5faebf2cb183395d5165cf051a4f
treefc314fa3d2451015d5acb69f96df8b7bf9639e59
parent38b22448f819aff57157d6f84d4cf3c88bcb657d
Upgrade deprecated directives and use non-posix bison

With Bison 3.0 some directives are deprecated:
- %name-prefix "x" should be %define api.prefix {x}
- %error-verbose should be %define parse.error verbose

Bison 3.3 also started emiting more warnings and since PHP souce parsers
are not POSIX compliant this patch fixes this as pointed out via
495a46aa1dc564656bf919cb49aae48a31ae15f4.
ext/json/json_parser.y
sapi/phpdbg/phpdbg_parser.y
scripts/dev/genfiles