Clean up
This commit is contained in:
parent
d400b8bb6a
commit
71807c0777
@ -322,13 +322,11 @@ pub fn parser<'src>(
|
||||
just(Token::Control(Control::DoubleColon)),
|
||||
);
|
||||
|
||||
let map_atom = choice((
|
||||
let map_index = choice((
|
||||
map.clone(),
|
||||
structure_instance.clone(),
|
||||
identifier_expression.clone(),
|
||||
));
|
||||
|
||||
let map_index = map_atom
|
||||
))
|
||||
.then_ignore(just(Token::Control(Control::Dot)))
|
||||
.then(positioned_identifier.clone())
|
||||
.map_with(|(expression, identifier), state| {
|
||||
|
Loading…
Reference in New Issue
Block a user