some fixes

This commit is contained in:
Folkert 2021-03-01 01:20:53 +01:00
parent 7c56547958
commit 14129bb34c
2 changed files with 6 additions and 9 deletions

View file

@ -1996,14 +1996,11 @@ macro_rules! one_or_more_e {
}
}
}
Err((progress, _, new_state)) => {
debug_assert_eq!(progress, NoProgress, "{:?}", &new_state);
Err((
progress,
$to_error(new_state.line, new_state.column),
new_state,
))
}
Err((progress, _, new_state)) => Err((
progress,
$to_error(new_state.line, new_state.column),
new_state,
)),
}
}
};