projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d9bb2a8
)
JSDOC/ScopeParser.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 07:50:36 +0000
(15:50 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 07:50:36 +0000
(15:50 +0800)
JSDOC/ScopeParser.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
be4db58
..
07014c7
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-709,12
+709,14
@@
ScopeParser.prototype = {
//print("in NAME 2: " + this.ts.lookTok(2).toString());
//print(this.ts.lookTok(0).data);
//print("in NAME 2: " + this.ts.lookTok(2).toString());
//print(this.ts.lookTok(0).data);
+ // prefixed with '.'
if (this.ts.lookTok(0).data == ".") {
//skip '.'
break;
}
if (this.ts.lookTok(0).data == ".") {
//skip '.'
break;
}
- if (this.mode == 'PASS2_SYMBOL_TREE') {
+
+ if (this.mode == 'PASS2_SYMBOL_TREE') {
identifier = this.getIdentifier(symbol, currentScope);
//println("<B>??</B>");
identifier = this.getIdentifier(symbol, currentScope);
//println("<B>??</B>");
@@
-728,7
+730,7
@@
ScopeParser.prototype = {
this.globalScope.declareIdentifier(symbol, token);
this.warn("Found an undeclared symbol: " + symbol + ' (line:' + token.line + ')', true);
} else {
this.globalScope.declareIdentifier(symbol, token);
this.warn("Found an undeclared symbol: " + symbol + ' (line:' + token.line + ')', true);
} else {
-
//println("undeclared"
)
+
println("undeclared:" + symbol
)
}
}