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

Fix empty filename bug on parser error message #104

Merged
merged 1 commit into from
Aug 12, 2018

Conversation

matsud224
Copy link
Contributor

In a parser error message, filename is not shown.

---- ---- ---- ----
  target file: 'demo.pdf'
  dump file: 'demo.satysfi-aux' (already exists)
  parsing 'demo.saty' ...
! [Syntax Error at Parser] at "", line 38, characters 6-6:

This PR fixes this problem by setting filename to lexbuf.lex_curr_p.pos_fname manually.

@gfngfn gfngfn merged commit 285ff60 into gfngfn:master Aug 12, 2018
@matsud224 matsud224 deleted the fix-range-fname branch September 1, 2018 07:09
@gfngfn gfngfn added the bug label Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants