JSDOC/Scope.js
[gnome.introspection-doc-generator] / JSDOC / Scope.js
index 342f018..afd488d 100644 (file)
@@ -23,7 +23,7 @@ function Scope(braceN, parent, startTokN, lastIdent)
     this.subScopes = [];
     this.hints = { };
     this.ident = lastIdent;
-    
+    this.gid = Scope.gid++;
     
     //println("ADD SCOPE(" + this.id + ") TO "+ (parent ? this.parent.id : 'TOP') + "<BR/>");
     
@@ -313,4 +313,4 @@ XObject.extend(Scope, {
 })
 // init the scope constants..
 Scope.init();
\ No newline at end of file
+Scope.gid = 0;
\ No newline at end of file