let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Fri, 5 Jul 2024 07:43:37 +0000 (10:43 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 5 Jul 2024 07:43:37 +0000 (10:43 +0300)
commitbeb4706806cc31a18c515e7385f7ed87689ba22b
treec2e7f04e4c31e84801fbf6fa61fc1e1465a9f931
parentb725515ded6ecdd91441bd0d21626b18f3468cc6
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