Skip to content

Commit c5db729

Browse files
committed
Add support for match statements to parser
1 parent e0a2948 commit c5db729

File tree

8 files changed

+10815
-4
lines changed

8 files changed

+10815
-4
lines changed

compiler/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)