let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Tue, 1 Nov 2022 18:32:28 +0000 (18:32 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Tue, 1 Nov 2022 18:32:28 +0000 (18:32 +0000)
commit02e0d358576b3cbb5729918163d475774aa34ee8
tree219a76021f247312bf6ec5741a9939d8a5d2e1fb
parent8faaafda2feb0f04c613c362e07f76f9cf4c0dd1
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