forked from vidarh/writing-a-compiler-in-ruby
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed longstanding bug that made variables starting with a keyword ge…
…t recognized as the keyword followed by a variable name; added mode to 'expect' that handles a symbol argument as a keyword and requires it to match a *full* atom to prevent the aforementioned problem, and converted all appropriate uses of expect() to the symbol form; updated and sorted the keyword set
- Loading branch information
Showing
3 changed files
with
35 additions
and
21 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