Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
translator: changed get expression to throw errors
removed return value removed temporary creation of error tokens removed done status enumerator since it is no longer used changed detection of unary operator errors: when get expression finds an unexpected unary operator, it throw an "expected binary operator or end-of-statement" error; callers previously checked if the token was a unary operator to report the appropriate error, but now that get expression throws this error, no token is returned so now callers must specifically check for this error and throw the appropriate error
- Loading branch information
1 parent
217de6d
commit 697a0d2
Showing
7 changed files
with
106 additions
and
158 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
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.