let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Sat, 1 Jun 2024 14:07:16 +0000 (17:07 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 1 Jun 2024 14:07:16 +0000 (17:07 +0300)
commit60fa6277e60963ee47131868af6fffea635db07e
treedf5ad69f63c9432f688f87465dffa3c4c7af5a06
parentd3caf9bae3bcbef9037fd732f6840c40603cddf7
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