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:
ae3d88a
)
JSDOC/ScopeParser.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 06:05:33 +0000
(14:05 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 06:05:33 +0000
(14:05 +0800)
JSDOC/ScopeParser.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
ffd6159
..
43bdaf3
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-877,16
+877,17
@@
ScopeParser.prototype = {
Seed.quit();
//print(token.toString());
// assert token.getType() == Token.LC;
Seed.quit();
//print(token.toString());
// assert token.getType() == Token.LC;
- this.braceNesting++;
-
- token = this.ts.nextTok();
+
//
this.braceNesting++;
+
+
//
token = this.ts.nextTok();
//print(token.toString());
//print(token.toString());
-
-
+ var outTS = this.ts;
+ this.ts = new TokenStream(token.items);
this.parseScope(fnScope);
this.parseScope(fnScope);
+ this.ts = outTS;
// now pop it off the stack!!!
// now pop it off the stack!!!
- this.braceNesting = b4braceNesting;
+
//
this.braceNesting = b4braceNesting;
//print("ENDFN -1: " + this.ts.lookTok(-1).toString());
//print("ENDFN 0: " + this.ts.lookTok(0).toString());
//print("ENDFN 1: " + this.ts.lookTok(1).toString());
//print("ENDFN -1: " + this.ts.lookTok(-1).toString());
//print("ENDFN 0: " + this.ts.lookTok(0).toString());
//print("ENDFN 1: " + this.ts.lookTok(1).toString());