let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Mon, 13 Jun 2022 18:36:12 +0000 (19:36 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 13 Jun 2022 18:36:12 +0000 (19:36 +0100)
commit78b927de97d82e0e9ec59ad40eee42077f3cd1a1
treed0843dc202dc7e4191861ca9fc0c0f963f435a76
parent9440f0585006f1bac2b620b29a7ebfddd1cc51f5
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