-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add source location info to operations
This allows us to carry the source filename, line and, most importantly, the line number forward to the second pass so that semantic errors have some useful debugging information. The implementation, adding a method to Operation interface and embedding SourceInfo in each operation is... kind of messy. I'll have to think about how to pass the data around more cleanly. In particular, I'm not sure how well it works for manually created operations without source code. Squashed commit of the following: acee70b...28b2a50
- Loading branch information
Showing
14 changed files
with
394 additions
and
173 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.