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:
d044448
)
JSDOC/ScopeParser.js
author
alan
<alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 09:02:44 +0000
(17:02 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 09:02:44 +0000
(17:02 +0800)
JSDOC/ScopeParser.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
89ee136
..
35ebf94
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-256,7
+256,9
@@
ScopeParser.prototype = {
if (token.name == "IN") {
break;
} else {
+ var bn = this.braceNesting;
this.parseExpression();
+ this.braceNesting = bn;
//this.logR("parseScope DONE : <B>ParseExpression</B> - tok is:" + this.ts.lookT(0).toString());
token = this.ts.lookTok(1);
@@
-269,7
+271,9
@@
ScopeParser.prototype = {
break;
case "KEYW.FUNCTION":
//println("<i>"+token.data+"</i>");
+ var bn = this.braceNesting;
this.parseFunctionDeclaration();
+ this.braceNesting = bn;
break;
case "PUNC.LEFT_CURLY": // {