From 3e513fc6a8613bfec779faf32d19324c31422253 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Sat, 17 Jan 2015 22:22:26 +0100 Subject: [PATCH] Kill finishNodeAt in acorn_loose as well Issue #200 --- acorn_loose.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/acorn_loose.js b/acorn_loose.js index b1b461360d..03d92b7352 100644 --- a/acorn_loose.js +++ b/acorn_loose.js @@ -257,14 +257,6 @@ return node; } - function finishNodeAt(node, type, pos) { - if (options.locations) { node.loc.end = pos[1]; pos = pos[0]; } - node.type = type; - node.end = pos; - if (options.ranges) node.range[1] = pos; - return node; - } - function dummyIdent() { var dummy = startNode(); dummy.name = "✖";