mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-19 19:15:43 +00:00
Fix NamedExpr location
This commit is contained in:
parent
e164a41723
commit
d9bbeeb9b3
4 changed files with 10 additions and 10 deletions
|
@ -37,7 +37,7 @@ expression: parse_ast
|
|||
end_location: Some(
|
||||
Location {
|
||||
row: 1,
|
||||
column: 8,
|
||||
column: 4,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
|
|
|
@ -36,7 +36,7 @@ Located {
|
|||
end_location: Some(
|
||||
Location {
|
||||
row: 1,
|
||||
column: 11,
|
||||
column: 2,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
|
|
|
@ -1616,7 +1616,7 @@ expression: "parse_program(source, \"<test>\").unwrap()"
|
|||
end_location: Some(
|
||||
Location {
|
||||
row: 19,
|
||||
column: 12,
|
||||
column: 7,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
|
@ -1704,7 +1704,7 @@ expression: "parse_program(source, \"<test>\").unwrap()"
|
|||
end_location: Some(
|
||||
Location {
|
||||
row: 20,
|
||||
column: 12,
|
||||
column: 7,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
|
@ -1824,7 +1824,7 @@ expression: "parse_program(source, \"<test>\").unwrap()"
|
|||
end_location: Some(
|
||||
Location {
|
||||
row: 21,
|
||||
column: 12,
|
||||
column: 7,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
|
@ -1875,7 +1875,7 @@ expression: "parse_program(source, \"<test>\").unwrap()"
|
|||
end_location: Some(
|
||||
Location {
|
||||
row: 21,
|
||||
column: 20,
|
||||
column: 15,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
|
@ -1981,7 +1981,7 @@ expression: "parse_program(source, \"<test>\").unwrap()"
|
|||
end_location: Some(
|
||||
Location {
|
||||
row: 22,
|
||||
column: 12,
|
||||
column: 7,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
|
@ -2032,7 +2032,7 @@ expression: "parse_program(source, \"<test>\").unwrap()"
|
|||
end_location: Some(
|
||||
Location {
|
||||
row: 22,
|
||||
column: 20,
|
||||
column: 15,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue