mirror of
https://github.com/danog/parser.git
synced 2025-01-22 13:01:32 +01:00
parser: allow from as reserved ident
This commit is contained in:
parent
490648514a
commit
29946919ad
@ -145,5 +145,6 @@ pub(crate) fn is_reserved_ident(kind: &TokenKind) -> bool {
|
||||
| TokenKind::HaltCompiler
|
||||
| TokenKind::Fn
|
||||
| TokenKind::Match
|
||||
| TokenKind::Enum)
|
||||
| TokenKind::Enum
|
||||
| TokenKind::From)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user