let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Sat, 28 Aug 2021 17:44:39 +0000 (18:44 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 28 Aug 2021 17:44:39 +0000 (18:44 +0100)
commit705b7acddf29d869692269d2856935b33b63b931
tree8f247300dbaa4323c580977a358f8e3e6e56e572
parentc4d2d0b450dcdef8f2c0574b195687697ba40489
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