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:
b26e9bc
)
JSDOC/TokenReader.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 10 Sep 2015 10:32:42 +0000
(18:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 10 Sep 2015 10:32:42 +0000
(18:32 +0800)
JSDOC/TokenReader.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TokenReader.vala
b/JSDOC/TokenReader.vala
index
8bf3716
..
7d6f88e
100644
(file)
--- a/
JSDOC/TokenReader.vala
+++ b/
JSDOC/TokenReader.vala
@@
-162,7
+162,9
@@
namespace JSDOC {
*/
public Token lastSym(TokenArray tokens, int n) {
for (var i = n-1; i >= 0; i--) {
- if (!(tokens[i].is("WHIT") || tokens[i].is("COMM"))) return tokens[i];
+ if (!(tokens.get(i).is("WHIT") || tokens.get(i).is("COMM"))) {
+ return tokens.get(i);
+ }
}
return null;
},