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:
a31c200
)
JSDOC/TokenReader.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Sep 2015 09:33:30 +0000
(17:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Sep 2015 09:33:30 +0000
(17:33 +0800)
JSDOC/TokenReader.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TokenReader.vala
b/JSDOC/TokenReader.vala
index
c74be2b
..
c87f4ac
100644
(file)
--- a/
JSDOC/TokenReader.vala
+++ b/
JSDOC/TokenReader.vala
@@
-257,7
+257,7
@@
namespace JSDOC {
}
}
- if (found ==
=
"") {
+ if (found == "") {
return false;
}
return false;
}
@@
-293,7
+293,7
@@
namespace JSDOC {
found += stream.next();
}
found += stream.next();
}
- if (found ==
=
"") {
+ if (found == "") {
return false;
}
//print("WHITE = " + JSON.stringify(found));
return false;
}
//print("WHITE = " + JSON.stringify(found));
@@
-313,6
+313,7
@@
namespace JSDOC {
@returns {Boolean} Was the token found?
*/
public bool read_newline (TokenStream stream, TokenArray tokens)
@returns {Boolean} Was the token found?
*/
public bool read_newline (TokenStream stream, TokenArray tokens)
+ {
var found = "";
var line = this.line;
while (!stream.lookEOF() && Lang.isNewline(stream.look())) {
var found = "";
var line = this.line;
while (!stream.lookEOF() && Lang.isNewline(stream.look())) {
@@
-320,7
+321,7
@@
namespace JSDOC {
found += stream.next();
}
found += stream.next();
}
- if (found ==
=
"") {
+ if (found == "") {
return false;
}
return false;
}