mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Fix another node end line-numbering bug reported by Igor Bukanov on n.p.m.jseng.
This commit is contained in:
parent
55dab83c6b
commit
13f72da5b5
@ -286,6 +286,7 @@ NewBinary(JSContext *cx, JSTokenType tt,
|
||||
left->pn_type == TOK_NUMBER &&
|
||||
right->pn_type == TOK_NUMBER) {
|
||||
left->pn_dval += right->pn_dval;
|
||||
left->pn_pos.end = right->pn_pos.end;
|
||||
RecycleTree(right, tc);
|
||||
return left;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user