improve col_offset in new line and lalr

This commit is contained in:
dvermd 2022-10-19 23:45:24 +02:00
parent de7acf6f99
commit 1dfa2e5239
6 changed files with 34 additions and 34 deletions

View file

@ -35,7 +35,7 @@ pub fn parse_program(source: &str, source_path: &str) -> Result<ast::Suite, Pars
/// assert_eq!(
/// expr,
/// ast::Expr {
/// location: ast::Location::new(1, 2),
/// location: ast::Location::new(1, 0),
/// end_location: Some(ast::Location::new(1, 5)),
/// custom: (),
/// node: ast::ExprKind::BinOp {