JSDOC/Scope.js
authorAlan Knowles <alan@roojs.com>
Mon, 11 Jan 2016 09:01:45 +0000 (17:01 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 11 Jan 2016 09:01:45 +0000 (17:01 +0800)
JSDOC/Scope.js

index ed5202a..425a385 100644 (file)
@@ -70,7 +70,8 @@ Scope.prototype = {
         
         print(
             indent + "Scope: " + this.id + "\n" +
         
         print(
             indent + "Scope: " + this.id + "\n" +
-            indent + "Started: " + ( this.token ? this.token.line  : 'TOP' ) + "\n" +
+            
+            indent + "Started: " + ( this.token ? this.token.toString(): 'TOP' ) + "\n" +
             indent + "- " + str + "\n"
         );
         this.subScopes.forEach(function(s) {
             indent + "- " + str + "\n"
         );
         this.subScopes.forEach(function(s) {