[Pkg-javascript-commits] [node-acorn-jsx] 411/484: Remove Token::{startLoc, endLoc} so they don't appear in next release.

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:21:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-acorn-jsx.

commit 555c7898c8afa7318e8e8074b84d01d950146b3c
Author: Ingvar Stepanyan <me at rreverser.com>
Date:   Thu Jan 22 18:21:38 2015 +0200

    Remove Token::{startLoc,endLoc} so they don't appear in next release.
---
 acorn.js | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/acorn.js b/acorn.js
index 10cac96..f4b1534 100644
--- a/acorn.js
+++ b/acorn.js
@@ -200,9 +200,6 @@
     if (options.locations) {
       this.loc = new SourceLocation();
       this.loc.end = tokEndLoc;
-      // TODO: remove in next major release
-      this.startLoc = tokStartLoc;
-      this.endLoc = tokEndLoc;
     }
     if (options.ranges)
       this.range = [tokStart, tokEnd];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git



More information about the Pkg-javascript-commits mailing list