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/TokenStream.vala
[gnome.introspection-doc-generator]
/
JSDOC
/
TokenStream.vala
diff --git
a/JSDOC/TokenStream.vala
b/JSDOC/TokenStream.vala
index
b9291a7
..
d1f0f9b
100644
(file)
--- a/
JSDOC/TokenStream.vala
+++ b/
JSDOC/TokenStream.vala
@@
-28,7
+28,10
@@
namespace JSDOC {
this.rewind();
}
this.rewind();
}
-
+ public Gee.ArrayList<Token> toArray()
+ {
+ return this.tokens;
+ }
public void rewind() {
public void rewind() {
@@
-232,7
+235,8
@@
namespace JSDOC {
//Seed.print("STOP:" + stop);
Token token;
//Seed.print("STOP:" + stop);
Token token;
- while (null != (token = this.look(1,false))) {
+ while (null != (token = this.lookTok(1))) {
+ debug("BALANCE: " + token.asString());
if (token.is(start)) {
// Seed.print("balance: START : " + depth + " " + token.data);
depth++;
if (token.is(start)) {
// Seed.print("balance: START : " + depth + " " + token.data);
depth++;