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/TokenReader.vala
[gnome.introspection-doc-generator]
/
JSDOC
/
TokenReader.vala
diff --git
a/JSDOC/TokenReader.vala
b/JSDOC/TokenReader.vala
index
eb187f1
..
526b5ed
100644
(file)
--- a/
JSDOC/TokenReader.vala
+++ b/
JSDOC/TokenReader.vala
@@
-41,6
+41,9
@@
namespace JSDOC {
public void push (Token t) {
this.tokens.add(t);
}
public void push (Token t) {
this.tokens.add(t);
}
+ public Token get(int i) {
+ return this.tokens.get(i);
+ }
}
}
@@
-138,7
+141,7
@@
namespace JSDOC {
n--;
continue;
}
n--;
continue;
}
- if (stack && (tokens
[n]
.data == '{' || tokens[n].data == '(')) {
+ if (stack && (tokens
.get(n])
.data == '{' || tokens[n].data == '(')) {
stack--;
n--;
continue;
stack--;
n--;
continue;