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

Report errors at the source line number #14

Closed
cxw42 opened this issue Jan 24, 2018 · 0 comments
Closed

Report errors at the source line number #14

cxw42 opened this issue Jan 24, 2018 · 0 comments

Comments

@cxw42
Copy link
Member

cxw42 commented Jan 24, 2018

Currently, errors in the generated script are reported with the line number in the generated script. It would be nice to report them with the line number in the user's input instead.

Edit Looks like this should do it (# line nnnn "filename.foo" inserted at the right places)

cxw42 pushed a commit to cxw42/perlpp that referenced this issue May 15, 2018
cxw42 pushed a commit to cxw42/perlpp that referenced this issue May 15, 2018
- By default, add `#line` directives to the generated script so that
  errors will be reported somewhere near the input file/line number.
  Closes interpreters#14.
- New option `--Elines` to suppress that, so that you can look at the
  `-E` output and find exactly where the error is.
- Bumped version number to 0.4.0.
@cxw42 cxw42 mentioned this issue May 15, 2018
@cxw42 cxw42 closed this as completed in #22 May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant