Skip to content

Ignore empty path elements, like BYOND does - #2678

Merged
wixoaGit merged 3 commits into
OpenDreamProject:masterfrom
mumencoder:fix/2649-doubleslash
Aug 20, 2026
Merged

Ignore empty path elements, like BYOND does#2678
wixoaGit merged 3 commits into
OpenDreamProject:masterfrom
mumencoder:fix/2649-doubleslash

Conversation

@mumencoder

Copy link
Copy Markdown
Contributor

A macro that expands to a path can be pasted directly after a slash, producing an empty path element. BYOND ignores those, we errored out. This is only reachable through macro expansion, because a literal // in source is a comment.

A macro that expands to a path can be pasted directly after a slash,
producing an empty path element. BYOND ignores those, we errored out.
This is only reachable through macro expansion, because a literal // in
source is a comment.
@boring-cyborg boring-cyborg Bot added the Compiler Involves the OpenDream compiler label Jul 24, 2026
@mumencoder

Copy link
Copy Markdown
Contributor Author

fix for #2649

@wixoaGit wixoaGit linked an issue Jul 27, 2026 that may be closed by this pull request
@wixoaGit
wixoaGit enabled auto-merge (squash) August 20, 2026 09:11
@wixoaGit
wixoaGit merged commit 9eae3c7 into OpenDreamProject:master Aug 20, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compiler Involves the OpenDream compiler size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preprocessor Parity Error w/ Slashes in Macros

3 participants