-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add reserved keywords to lexer and parser (#39)
- Loading branch information
1 parent
fe37f60
commit af26ea2
Showing
5 changed files
with
113 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
contract InterestingVars { | ||
int after; | ||
int alias; | ||
int apply; | ||
int auto; | ||
int case; | ||
int copyof; | ||
int default; | ||
int define; | ||
int final; | ||
int immutable; | ||
int implements; | ||
int in; | ||
int inline; | ||
int let; | ||
int macro; | ||
int match; | ||
int mutable; | ||
int null; | ||
int of; | ||
int partial; | ||
int promise; | ||
int reference; | ||
int relocatable; | ||
int sealed; | ||
int sizeof; | ||
int static; | ||
int supports; | ||
int switch; | ||
int typedef; | ||
int typeof; | ||
int unchecked; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
contract InterestingLocalVars { | ||
function f() { | ||
int after; | ||
int alias; | ||
int apply; | ||
int auto; | ||
int case; | ||
int copyof; | ||
int default; | ||
int define; | ||
int final; | ||
int immutable; | ||
int implements; | ||
int in; | ||
int inline; | ||
int let; | ||
int macro; | ||
int match; | ||
int mutable; | ||
int null; | ||
int of; | ||
int partial; | ||
int promise; | ||
int reference; | ||
int relocatable; | ||
int sealed; | ||
int sizeof; | ||
int static; | ||
int supports; | ||
int switch; | ||
int typedef; | ||
int typeof; | ||
int unchecked; | ||
} | ||
} |