let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)
commitb3a84e6d8cdf1d5774875553dce8f5ef4db27deb
treee8de184e882847d75dc29b2c31cf8be82fa4e44c
parent2411f3a2b06592674c7d6fb76861df5524a783c7
let Bison generate the header directly

Forwarded: https://github.com/qtwebkit/qtwebkit/pull/1012
Last-Update: 2020-08-04

Starting with Bison 3.7, the generated C++ file #include's the header
by default, instead of duplicating it. So we should not delete it.

Remove the code to add #ifdef guards to the header, since Bison adds
them itself since version 2.6.3.

Gbp-Pq: Name bison_3.7.diff
Source/WebCore/css/makegrammar.pl