Skip to content

fix(syntax): avoid cwd includes for pathless parses#44

Merged
hongjr03 merged 1 commit into
masterfrom
fix/pathless-include-expansion
May 19, 2026
Merged

fix(syntax): avoid cwd includes for pathless parses#44
hongjr03 merged 1 commit into
masterfrom
fix/pathless-include-expansion

Conversation

@hongjr03
Copy link
Copy Markdown
Member

Closes #34, #43.

Pathless parses are intended for local syntax/HIR analysis of the current buffer, but slang could resolve include files relative to the process cwd. That injected include-buffer syntax into the tree, producing nodes without current-file ranges and later panicking in syntax pointer creation.

@hongjr03 hongjr03 force-pushed the fix/pathless-include-expansion branch from ce2eece to 78c25bb Compare May 19, 2026 15:25
@hongjr03 hongjr03 merged commit decd2a9 into master May 19, 2026
18 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.

[Bug] Crashes on an Open-Source Project basic_verilog

1 participant