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/ScopeParser.js
[gnome.introspection-doc-generator]
/
JSDOC
/
ScopeParser.js
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
a69b251
..
77dd6f7
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-577,7
+577,7
@@
ScopeParser.prototype = {
//print(scopeIndent + ">> ENTER EXPRESSION" + this.expN);
//print(scopeIndent + ">> ENTER EXPRESSION" + this.expN);
- while (token = this.ts.
look
Tok()) {
+ while (token = this.ts.
next
Tok()) {
@@
-637,17
+637,17
@@
ScopeParser.prototype = {
token.items.forEach(function(ns) {
print("EXPR-PUNC-MAKE:" + JSON.stringify(ns, null, 4));
_this.ts = new TokenStream(ns);
token.items.forEach(function(ns) {
print("EXPR-PUNC-MAKE:" + JSON.stringify(ns, null, 4));
_this.ts = new TokenStream(ns);
- _this.ts.cursor--;
+
//
_this.ts.cursor--;
_this.parseExpression();
});
this.ts = ts;
break;
_this.parseExpression();
});
this.ts = ts;
break;
-/*
+
case ']': //Token.RB:
case ']': //Token.RB:
-
bracketNesting--
;
- break;
-*/
+
return
;
+
+
case '(': //Token.LP:
parensNesting++;
break;
case '(': //Token.LP:
parensNesting++;
break;
@@
-785,7
+785,7
@@
ScopeParser.prototype = {
print("EXPR-SKIP:" + JSON.stringify(token, null, 4));
break;
}
print("EXPR-SKIP:" + JSON.stringify(token, null, 4));
break;
}
- if (!this.ts.nextTok()) break;
+
}
print("<< EXIT EXPRESSION");
this.expN--;
}
print("<< EXIT EXPRESSION");
this.expN--;