Skip to content

Print locations as file:row:col - #40

Open
TimGrun wants to merge 1 commit into
AnyDSL:masterfrom
DFOP-HD:loc-format
Open

TimGrun wants to merge 1 commit into
AnyDSL:masterfrom
DFOP-HD:loc-format

Conversation

@TimGrun

@TimGrun TimGrun commented Aug 5, 2026

Copy link
Copy Markdown

The current file(row, col) is not a format any editor or terminal recognises. file:row:col is what gcc, clang and rustc emit, so the location in an artic error message becomes clickable and greppable.

ile(row, col) is not a format any editor or terminal recognises. ile:row:col is
what gcc, clang and rustc emit, so the location in an artic error message becomes
clickable and greppable, and tooling that parses compiler output works without a custom
pattern.

This changes user-visible output; no test compares it (the failure tests only assert a
non-zero exit code).
@Hugobros3 Hugobros3 self-assigned this Aug 5, 2026
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