let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Mon, 4 Jan 2021 18:09:41 +0000 (18:09 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 4 Jan 2021 18:09:41 +0000 (18:09 +0000)
commit35554710d3bfd5d2a139bcee11572ed3c89d7ac9
tree9ee9bdb6889e837339607b0528561edb5a769b97
parentfbc3ae99c75cb7870a14a31fed270447fe8417f1
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