Skip to content

Regenerate Bison parser, remove pregenerated sources#106

Merged
yayahjb merged 2 commits intodials:mainfrom
hattne:bison
Sep 4, 2025
Merged

Regenerate Bison parser, remove pregenerated sources#106
yayahjb merged 2 commits intodials:mainfrom
hattne:bison

Conversation

@hattne
Copy link
Collaborator

@hattne hattne commented Jul 16, 2025

The pure-parser option has been deprecated with warning since Bison 3.4 (2019-05-19). Should probably not install cbf_stx.hCMake will not.

hattne added 2 commits July 15, 2025 19:42
…cbf_stx.h from cbf.stx.y

Heed the warning emitted by recent Bison (the api.pure option was
probably introduced in 2.3b from 2008-05-27) and name the previously
anonymous union typedef:ed to YYSTYPE in cbf_lex.h.  The YYSTYPE typedef
is retained in order to preserve the API, even though it may cause
problems for downstream projects that also rely on Bison.  Multiple
targets in a rule appears to be a GNU make extension, but its use was
already implied in Makefile.  Do not include any generated files from
the public headers.
Appears to have been manually added to the Bison-generated output.
@hattne hattne marked this pull request as ready for review July 16, 2025 22:42
@yayahjb yayahjb merged commit 4145f19 into dials:main Sep 4, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants