let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Mon, 25 Apr 2022 11:00:32 +0000 (12:00 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 25 Apr 2022 11:00:32 +0000 (12:00 +0100)
commit8f1db845f178b468d1e163c8bce95d34dd0ea964
tree4a738f14b191e9641ff45f8f18077a39af1260af
parent1b80c7105c850192557eb309a251a8dc55130987
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