-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix offset calculation for parsed nodes.
Closes #335. This builds on #117 by ensuring that not only are line & column information corrected to account for control characters inserted by the preprocessor, but offset information is too. Unfortunately this expands the hack that overrides the code generated by PEGjs, but it seemed the cleanest and most performant way to solve the problem.
- Loading branch information
1 parent
b31ccfb
commit 9ac232b
Showing
3 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters