diff --git a/src/parser.rs b/src/parser.rs index 14c0418..bb24d69 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -167,9 +167,9 @@ where VariableChange::parser(&parser.variables).map(into_box), "variable assignment", ), - expect(Loop::parser(parser).map(into_box), "expected a loop"), - expect(Tuplet::parser(parser).map(into_box), "expected a tuplet"), - expect(Slope::parser(parser).map(into_box), "expected a slope"), + expect(Loop::parser(parser).map(into_box), "in the loop"), + expect(Tuplet::parser(parser).map(into_box), "in the tuplet"), + expect(Slope::parser(parser).map(into_box), "in the slope"), expect( Note::parser(parser.notes.as_ref()), "expected a note as last appeal (input didn't match anything known)",