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:
2bccde6
)
JSDOC/TokenStream.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 3 Dec 2015 07:39:59 +0000
(15:39 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 3 Dec 2015 07:39:59 +0000
(15:39 +0800)
JSDOC/TokenStream.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TokenStream.vala
b/JSDOC/TokenStream.vala
index
ad1baf2
..
83dd044
100644
(file)
--- a/
JSDOC/TokenStream.vala
+++ b/
JSDOC/TokenStream.vala
@@
-235,7
+235,7
@@
namespace JSDOC {
//Seed.print("STOP:" + stop);
Token token;
//Seed.print("STOP:" + stop);
Token token;
- while (null != (token = this.look
Tok(1
))) {
+ while (null != (token = this.look
(1,false
))) {
debug("BALANCE: " + token.asString());
if (token.is(start)) {
// Seed.print("balance: START : " + depth + " " + token.data);
debug("BALANCE: " + token.asString());
if (token.is(start)) {
// Seed.print("balance: START : " + depth + " " + token.data);
@@
-249,12
+249,14
@@
namespace JSDOC {
if (token.is(stop)) {
depth--;
if (token.is(stop)) {
depth--;
- // Seed.print("balance: STOP: " + depth + " " + token.data);
+
+ print("balance (%d): STOP: %s\n" depth , token.data);
if (depth < 1) {
return got;
}
if (depth < 1) {
return got;
}
+
}
}
- if (null == this.next
Tok
()) {
+ if (null == this.next()) {
break;
}
}
break;
}
}