Skip to content

spec: implement skip_duplicate_include for explicit skips, add error otherwise - #2790

Open
Dragorn421 wants to merge 7 commits into
zeldaret:mainfrom
Dragorn421:meta_spec_impl_skip_duplicate_include
Open

spec: implement skip_duplicate_include for explicit skips, add error otherwise#2790
Dragorn421 wants to merge 7 commits into
zeldaret:mainfrom
Dragorn421:meta_spec_impl_skip_duplicate_include

Conversation

@Dragorn421

Copy link
Copy Markdown
Collaborator

Builds upon #2777

This adds a top-level (outside segments) directive to the spec skip_duplicate_include
This directive indicates which includes should be ignored if encountered more than once.
If a file is included more than once but isn't marked with skip_duplicate_include, it will appear several times and mkldscript will error when processing the spec (added in this PR too).

@Dragorn421
Dragorn421 marked this pull request as ready for review August 3, 2026 14:55
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.

1 participant