mirror of
https://github.com/danog/parser.git
synced 2024-11-26 20:04:57 +01:00
chore: add true, false, and null as reserved keywords
Signed-off-by: azjezz <azjezz@protonmail.com>
This commit is contained in:
parent
b72751d3c7
commit
2db9d4641b
@ -103,6 +103,9 @@ pub fn is_reserved_ident(kind: &TokenKind) -> bool {
|
||||
| TokenKind::Parent
|
||||
| TokenKind::Self_
|
||||
| TokenKind::Abstract
|
||||
| TokenKind::True
|
||||
| TokenKind::False
|
||||
| TokenKind::Null
|
||||
| TokenKind::Final
|
||||
| TokenKind::For
|
||||
| TokenKind::Private
|
||||
|
Loading…
Reference in New Issue
Block a user