Skip to content

line pragmas interact badly with error messages #142

@Toxaris

Description

@Toxaris
  • When a source file has line pragmas, the code snippets in error messages are taken from the wrong file.
  • If a line pragma changes the current line number so that an error message should report a line number greater than the number of lines in the current file, the line number reported in the error message is truncated to the number of lines in the current file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions