mirror of
https://github.com/danog/parser.git
synced 2025-01-22 13:01:32 +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();
|
state.next();
|
||||||
e
|
e
|
||||||
}
|
}
|
||||||
TokenKind::Static if matches!(state.peek.kind, TokenKind::DoubleColon) => {
|
TokenKind::Static => {
|
||||||
state.next();
|
state.next();
|
||||||
Expression::Static
|
Expression::Static
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user