diff --git a/src/parser/internal/identifiers.rs b/src/parser/internal/identifiers.rs index a90b05a..319d3c2 100644 --- a/src/parser/internal/identifiers.rs +++ b/src/parser/internal/identifiers.rs @@ -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