Bug 257189

Summary: XPathGrammar.y and XPathGrammar.cpp are out-of-sync
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, cdumez, don.olmstead, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Anne van Kesteren
Reported 2023-05-23 01:07:57 PDT
When I run bison -d -p xpathyy XPathGrammar.y -o XPathGrammar.cpp in Source/WebCore/xml there's a number of differences. The AtomString changes are relatively straightforward to address, but I'm not sure how to make yynerrs not appear. There's also IGNORE_CLANG_WARNINGS_BEGIN/END I'm not sure what to do with and the file starts with /* This file is generated using the following command: bison -d -p xpathyy XPathGrammar.y -o XPathGrammar.cpp */ which is not generated either.
Attachments
Anne van Kesteren
Comment 1 2023-05-23 01:29:14 PDT
I included a partial fix in https://github.com/WebKit/WebKit/pull/14233.
Radar WebKit Bug Importer
Comment 2 2023-05-30 01:08:16 PDT
Note You need to log in before you can comment on or make changes to this bug.