From 5df1c9a76af44aeac8e8a0ca5911ee084a485945 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 11 Jan 2016 16:55:05 +0800 Subject: [PATCH] JSDOC/Scope.js --- JSDOC/Scope.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JSDOC/Scope.js b/JSDOC/Scope.js index 11b72df..8ae7f62 100644 --- a/JSDOC/Scope.js +++ b/JSDOC/Scope.js @@ -9,6 +9,7 @@ const Identifier = imports.Identifier.Identifier const XObject = imports.XObject.XObject; +Scope.id = 0; function Scope(braceN, parent, startTokN, lastIdent, token) { @@ -18,7 +19,7 @@ function Scope(braceN, parent, startTokN, lastIdent, token) this.braceN = braceN this.parent = parent; - this.id = startTokN; + this.id = Scope.id++; this.identifiers = { }; this.subScopes = []; this.hints = { }; -- 2.39.2