projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JSDOC/Packer.js
[gnome.introspection-doc-generator]
/
JSDOC
/
Scope.js
diff --git
a/JSDOC/Scope.js
b/JSDOC/Scope.js
index
f66a407
..
aa145c3
100644
(file)
--- a/
JSDOC/Scope.js
+++ b/
JSDOC/Scope.js
@@
-55,7
+55,7
@@
Scope.prototype = {
protectedVars : {}, // only used by to parent..
declareIdentifier : function(symbol, token) {
protectedVars : {}, // only used by to parent..
declareIdentifier : function(symbol, token) {
- //print("SCOPE : " + this.gid + " : " + token.toString()+"");
+ //print("SCOPE : " + this.gid + " :
SYM: " + symbol + "
" + token.toString()+"");
if (typeof(this.identifiers[symbol])== 'undefined') {
if (typeof(this.identifiers[symbol])== 'undefined') {
@@
-70,6
+70,8
@@
Scope.prototype = {
// then it's global...
this.identifiers[symbol].toMunge = false;
}
// then it's global...
this.identifiers[symbol].toMunge = false;
}
+
+
this.addToParentScope(symbol);
return this.identifiers[symbol];
},
this.addToParentScope(symbol);
return this.identifiers[symbol];
},
@@
-239,7
+241,7
@@
Scope.prototype = {
if (!repsym.length) {
if (!freeSymbols.length) {
if (!repsym.length) {
if (!freeSymbols.length) {
- addSyms(
JSDOC.
Scope.twos);
+ addSyms(Scope.twos);
}
repsym = freeSymbols.shift(); // pop off beginngin???
}
}
repsym = freeSymbols.shift(); // pop off beginngin???
}