Scanner - Static keyword
This commit is contained in:
parent
0a31442d56
commit
24c39a2c9d
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ lazy_static! {
|
||||||
keywords.insert("or", TokenType::Or);
|
keywords.insert("or", TokenType::Or);
|
||||||
keywords.insert("print", TokenType::Print);
|
keywords.insert("print", TokenType::Print);
|
||||||
keywords.insert("return", TokenType::Return);
|
keywords.insert("return", TokenType::Return);
|
||||||
|
keywords.insert("static", TokenType::Static);
|
||||||
keywords.insert("super", TokenType::Super);
|
keywords.insert("super", TokenType::Super);
|
||||||
keywords.insert("this", TokenType::This);
|
keywords.insert("this", TokenType::This);
|
||||||
keywords.insert("true", TokenType::True);
|
keywords.insert("true", TokenType::True);
|
||||||
|
|
Loading…
Reference in a new issue