Skip to content

refactor(rules): share parser-generator stanza dispatch - #17149

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-tlkpqvkkyzup
Nov 22, 2026
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-tlkpqvkkyzup

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Use the same enabled_if check to dispatch ocamllex and ocamlyacc rules. Disabled stanzas still generate no rules, and Menhir dispatch is unchanged.

Evaluate the enabled-if condition the same way before dispatching ocamllex and ocamlyacc rules.

Signed-off-by: Rudi Grinberg <[email protected]>
@rgrinberg
rgrinberg merged commit 83c6e21 into ocaml:main Nov 22, 2026
17 of 19 checks passed
@Alizter Alizter added this to the 3.26.0 milestone Nov 22, 2026
rgrinberg added a commit that referenced this pull request Nov 22, 2026
The bootstrap GC cram test symlinks the OCaml toplevel into its
temporary tools directory. A toplevel built with
`--with-relative-libdir` looks for the standard library relative to that
path and fails with `Unbound module Stdlib` before the GC checks run, as
seen in [the OCaml 5.5 CI job for
#17149](https://github.com/ocaml/dune/actions/runs/44978457065/job/137075755744?pr=17149).

Forward every tool call to the installed executable and only record GC
settings for the compiler tools under test. The existing GC assertions
are unchanged.

Signed-off-by: Rudi Grinberg <[email protected]>
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