Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line pragmas interact badly with error messages #142

Open
Toxaris opened this issue Mar 9, 2015 · 0 comments
Open

line pragmas interact badly with error messages #142

Toxaris opened this issue Mar 9, 2015 · 0 comments

Comments

@Toxaris
Copy link
Owner

Toxaris commented Mar 9, 2015

  • 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.
@Toxaris Toxaris changed the title line pragmas interact badly with code snippets in error messages line pragmas interact badly with error messages Mar 10, 2015
Toxaris added a commit that referenced this issue Mar 10, 2015
Not a real solution yet.
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

No branches or pull requests

1 participant