JSDOC/ScopeNamer.js
authorAlan Knowles <alan@roojs.com>
Wed, 9 Nov 2011 08:38:39 +0000 (16:38 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 9 Nov 2011 08:38:39 +0000 (16:38 +0800)
JSDOC/ScopeNamer.js

index 8cd7934..3ba0a75 100644 (file)
@@ -114,7 +114,7 @@ ScopeNamer = XObject.define(
             //print (this.statements);
             //print (JSON.stringify(this.statements, null,2));
            
-            this.walkStatements('$global$', this.statements)
+            this.walkStatements('_global_', this.statements)
             
                 
                 
@@ -246,7 +246,7 @@ ScopeNamer = XObject.define(
         {
             this.debugCall("wallkCall : " + inscope + '@' + this.look(0).line );
             var scope = inscope + ( assign ? ('.' + assign) : '' );
-            scope = scope.replace(/\^$global\$\./, '');
+            //scope = scope.replace(/\^_global\$\./, '');