let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Thu, 9 Jan 2025 11:39:01 +0000 (14:39 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 9 Jan 2025 11:39:01 +0000 (14:39 +0300)
commitf2672ec33dcfa9d1a7ea3deeabfd78478ad572bc
tree6c8dc9f34f021a4ae6fc0433dd97f7d4ea632d3f
parent55b3585dce99a111830f5e43188f2b06f6c69289
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