WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
257189
XPathGrammar.y and XPathGrammar.cpp are out-of-sync
https://bugs.webkit.org/show_bug.cgi?id=257189
Summary
XPathGrammar.y and XPathGrammar.cpp are out-of-sync
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
Add attachment
proposed patch, testcase, etc.
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
<
rdar://problem/109994057
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug