mirror of https://github.com/rm-dr/daisy
Minor bug
parent
0497cd810d
commit
7ecdfae6fc
|
@ -65,7 +65,7 @@ fn treeify_binary(
|
||||||
} else {
|
} else {
|
||||||
let tl = *this.get_line_location();
|
let tl = *this.get_line_location();
|
||||||
return Err((
|
return Err((
|
||||||
LineLocation{pos: tl.pos, len: l.pos - tl.pos + l.len},
|
LineLocation{pos: l.pos, len: tl.pos - l.pos + tl.len},
|
||||||
ParserError::Syntax
|
ParserError::Syntax
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue