let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Wed, 24 Nov 2021 19:27:08 +0000 (19:27 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Wed, 24 Nov 2021 19:27:08 +0000 (19:27 +0000)
commitb2e70590bc62e9165d4314390a3db4dde9c246fd
tree015842669320d6e254e8305b88959c1dc9def741
parentaa555f794517d4e9c76c63e983ac40c76d9149d8
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