let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Tue, 26 Jul 2022 08:39:04 +0000 (09:39 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Tue, 26 Jul 2022 08:39:04 +0000 (09:39 +0100)
commit2553b3988d396ed0f0ab5688b2d01a206adc6fa4
treea459ebeb999a7c472870757d0f8d8ce724bb3b0b
parent57a7094dd6930bad1bc3692ecb14f8cb97508919
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