let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)
commit7918ece9cd61c844482d79e3fa2910c73d3e17f6
tree891918a996124cc41bc89b1a90f9ce18391ce5a5
parentf7c97967112e9a1d8a37b4b8e8feb01ade3a020b
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