mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 21:21:33 +00:00
implement support for multiple index operations
This commit is contained in:
@ -63,7 +63,7 @@ class Parser(source: TokenSource, attribution: NodeAttribution) :
|
||||
}
|
||||
}
|
||||
|
||||
if (peek(TokenType.LeftBracket)) {
|
||||
while (peek(TokenType.LeftBracket)) {
|
||||
expression = produce(NodeType.IndexedBy) {
|
||||
attribution.adopt(expression)
|
||||
expect(TokenType.LeftBracket)
|
||||
|
Reference in New Issue
Block a user