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:
b9e0785
)
JSDOC/TokenStream.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 30 Sep 2015 10:08:50 +0000
(18:08 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 30 Sep 2015 10:08:50 +0000
(18:08 +0800)
JSDOC/TokenStream.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TokenStream.vala
b/JSDOC/TokenStream.vala
index
edfc621
..
59db3a6
100644
(file)
--- a/
JSDOC/TokenStream.vala
+++ b/
JSDOC/TokenStream.vala
@@
-224,6
+224,7
@@
namespace JSDOC {
var started = false;
//Seed.print("START:" + start);
//Seed.print("STOP:" + stop);
+
while ((token = this.look())) {
if (token.is(start)) {
// Seed.print("balance: START : " + depth + " " + token.data);
@@
-238,7
+239,9
@@
namespace JSDOC {
if (token.is(stop)) {
depth--;
// Seed.print("balance: STOP: " + depth + " " + token.data);
- if (depth < 1) return got;
+ if (depth < 1) {
+ return got;
+ }
}
if (!this.next()) break;
}