Repository navigation
easytrieve: NASM % directives no longer route .mac to easytrieve (Part of #7064) - #7161
Merged
Merged
Conversation
…discriminator (Part of #7064) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
This was referenced Oct 30, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #7064
Checklist: partial [c:f6a05563] -- troff
.mactrigger line unconfirmed (4 FreeBSD files not held here); DSP/MASM.macstay plaintext (no owning language)What changed
Easytrieve's
internal_discriminatorended in a bare%namebranch (macro call). NASM's%macro,%endmacro,%define,%include,%if*,%rep,%1:all matched it, so NASM.macfiles were labelledeasytrieve. The branch now refuses a leading digit and NASM / preprocessor directive words (word-bounded:%MSTFILE,%MACROXstill match). A NASM.macnow lands inplaintext.Class / Sibling gaps
Class: a non-Easytrieve
.mac(NASM percent-directives) satisfying easytrieve's%namediscriminator. Handled here: every NASM directive family (macro/define/include/conditionals/rep/assign/%1), upper and lower case,.mac/.MAC. Sibling gaps: (1) the 4 FreeBSD troff.macfiles that routed easytrieve at probe time are not held on this box, so the matching line is unconfirmed (a synthetic troff file already routes plaintext); (2) DSP and MASM.macstay plaintext on purpose (no owning language). No burned-estate program needs either.Gates
pr_gates --fast9/9 pass;--ratchets9 pass, 0 fail (golden unchanged, no re-bless). 327 tests in the easytrieve/hlasm strict files pass. Not run: the full suite (CI).Lessons for agents
Easytrieve's
%namebranch is shared by any%-directive language that shares.mac; add new.macfamilies to the exclusion list, not to hlasm.Overlap: PR #7157 also edits hlasm.md; this adds one appended addendum.
🤖 Generated with Claude Code