From 13f72da5b5a62f66ed087682834f29ec874a3555 Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Sun, 22 Aug 2004 21:32:23 +0000 Subject: [PATCH] Fix another node end line-numbering bug reported by Igor Bukanov on n.p.m.jseng. --- js/src/jsparse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/js/src/jsparse.c b/js/src/jsparse.c index 6da943179a3c..443ae7ec8f65 100644 --- a/js/src/jsparse.c +++ b/js/src/jsparse.c @@ -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; }