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:
c9a7c98
)
JSDOC/TokenReader.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 10 Sep 2015 10:24:06 +0000
(18:24 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 10 Sep 2015 10:24:06 +0000
(18:24 +0800)
JSDOC/TokenReader.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TokenReader.vala
b/JSDOC/TokenReader.vala
index
ebc19b0
..
7c45861
100644
(file)
--- a/
JSDOC/TokenReader.vala
+++ b/
JSDOC/TokenReader.vala
@@
-27,7
+27,7
@@
namespace JSDOC {
}
return null;
}
- public Token? lastSym
= function
() {
+ public Token? lastSym () {
for (var i = this.tokens.length-1; i >= 0; i--) {
if (!(this.tokens.get(i).is("WHIT") || this.tokens.get(i).is("COMM"))) {
return this.tokens.get(i);
@@
-35,6
+35,9
@@
namespace JSDOC {
}
return null;
}
+ public void push (Token t) {
+ this.tokens.add(t);
+ }
}