let Bison generate the header directly
authorDmitry Shachnev <mitya57@debian.org>
Sat, 17 Dec 2022 15:20:04 +0000 (15:20 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 17 Dec 2022 15:20:04 +0000 (15:20 +0000)
commit8e4626349b79890f2f1b773e1ef6da359d972335
tree89eac31d9e52a72e550463f745567ec25ed8be45
parent6096f3a8d79995b7427bb6af27b817d3968aa8fd
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