-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix source locations with
--no-preprocessor
and add a virtual file …
…system layer to the parser (#2377) * Add a virtual file system layer to the parser The default virtual file system used by the parser is the real file system. And it's possible to initialize the parser driver with a different virtual file system. The Overlay file system is a stack of virtual file systems. * Fix source locations with `--no-preprocessor`. Source location were off by one line. The source location on the first line had an uninitialized column number. Error messages would point to the wrong column when the location is after consecutive non-leading whitespaces.
- Loading branch information
Showing
32 changed files
with
677 additions
and
84 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.