mirror of
https://github.com/RustPython/Parser.git
synced 2025-08-28 14:25:43 +00:00
improve col_offset in new line and lalr
This commit is contained in:
parent
d5a208ca9d
commit
a5b59f3c9d
6 changed files with 34 additions and 34 deletions
|
@ -871,7 +871,7 @@ ShiftOp: ast::Operator = {
|
|||
};
|
||||
|
||||
ArithmeticExpression: ast::Expr = {
|
||||
<a:ArithmeticExpression> <location:@L> <op:AddOp> <b:Term> <end_location:@R> => ast::Expr {
|
||||
<location:@L> <a:ArithmeticExpression> <op:AddOp> <b:Term> <end_location:@R> => ast::Expr {
|
||||
location,
|
||||
end_location: Some(end_location),
|
||||
custom: (),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue