let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Thu, 29 Sep 2022 08:55:50 +0000 (09:55 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 29 Sep 2022 08:55:50 +0000 (09:55 +0100)
commit8846fcccad2c91a9469892f26d25fc864c533ae5
tree569f435be315b9b7efb9b8ee43ae06e8c76490d7
parent4dfd20726019cc3fbe0e2c117c2b7e842843d6ca
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