Skip to content

Commit

Permalink
Reserve a few more keywords #so
Browse files Browse the repository at this point in the history
  • Loading branch information
mverleg committed Jun 2, 2018
1 parent cab34ba commit f945ff2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mango/util/codeparts/keyword.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ impl Keyword {
"int" => Ok(Reserved("int".to_owned())),
"interface" => Ok(Reserved("interface".to_owned())),
"internal" => Ok(Reserved("internal".to_owned())),
"intersect" => Ok(Reserved("intersect".to_owned())),
"intersection" => Ok(Reserved("intersection".to_owned())),
"is" => Ok(Reserved("is".to_owned())),
"it" => Ok(Reserved("it".to_owned())),
"lambda" => Ok(Reserved("lambda".to_owned())),
Expand Down Expand Up @@ -149,6 +151,8 @@ impl Keyword {
"try" => Ok(Reserved("try".to_owned())),
"type" => Ok(Reserved("type".to_owned())),
"unsafe" => Ok(Reserved("unsafe".to_owned())),
"unite" => Ok(Reserved("unite".to_owned())),
"union" => Ok(Reserved("union".to_owned())),
"until" => Ok(Reserved("until".to_owned())),
"use" => Ok(Reserved("use".to_owned())),
"val" => Ok(Reserved("val".to_owned())),
Expand Down

0 comments on commit f945ff2

Please sign in to comment.