mirror of
https://github.com/danog/parser.git
synced 2025-01-22 04:51:13 +01:00
parser: produce static expressions as new target
This commit is contained in:
parent
f65d8eefc0
commit
e8b58ba52b
@ -1042,7 +1042,7 @@ impl Parser {
|
||||
state.next();
|
||||
e
|
||||
}
|
||||
TokenKind::Static if matches!(state.peek.kind, TokenKind::DoubleColon) => {
|
||||
TokenKind::Static => {
|
||||
state.next();
|
||||
Expression::Static
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user