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:
c88d6dd
)
JSDOC/TokenStream.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 30 Sep 2015 10:03:02 +0000
(18:03 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 30 Sep 2015 10:03:02 +0000
(18:03 +0800)
JSDOC/TokenStream.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TokenStream.vala
b/JSDOC/TokenStream.vala
index
df4b946
..
25846c2
100644
(file)
--- a/
JSDOC/TokenStream.vala
+++ b/
JSDOC/TokenStream.vala
@@
-182,16
+182,17
@@
namespace JSDOC {
// what about comments after 'function'...
// is this used ???
-
nextTok : function
() {
+
public Token? nextTok
() {
return this.nextNonSpace();
- },
- nextNonSpace : function ()
+ }
+
+ public Token? nextNonSpace ()
{
while (true) {
- tok = this.next(
1
);
+ tok = this.next();
if (!tok) {
- return
false
;
+ return
null
;
}
if (tok.is('WHIT') || tok.is('COMM')) {
continue;