Skip to content

Commit c137bc9

Browse files
authored
Merge pull request #4519 from charliermarsh/charlie/match
Add support for match statements to parser
2 parents 60180fd + f39ffef commit c137bc9

8 files changed

+10810
-4
lines changed

parser/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ fn gen_phf(out_dir: &Path) {
119119
.entry("async", "Tok::Async")
120120
.entry("await", "Tok::Await")
121121
.entry("break", "Tok::Break")
122+
.entry("case", "Tok::Case")
122123
.entry("class", "Tok::Class")
123124
.entry("continue", "Tok::Continue")
124125
.entry("def", "Tok::Def")
@@ -135,6 +136,7 @@ fn gen_phf(out_dir: &Path) {
135136
.entry("in", "Tok::In")
136137
.entry("is", "Tok::Is")
137138
.entry("lambda", "Tok::Lambda")
139+
.entry("match", "Tok::Match")
138140
.entry("nonlocal", "Tok::Nonlocal")
139141
.entry("not", "Tok::Not")
140142
.entry("or", "Tok::Or")

0 commit comments

Comments
 (0)