mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-15 17:15:24 +00:00
improve col_offset in new line and lalr
This commit is contained in:
parent
de7acf6f99
commit
1dfa2e5239
6 changed files with 34 additions and 34 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue