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
(from parent 1:
3be50a5
)
JSDOC/TextStream.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 15 Sep 2015 09:29:38 +0000
(17:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 15 Sep 2015 09:29:38 +0000
(17:29 +0800)
JSDOC/TextStream.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TextStream.vala
b/JSDOC/TextStream.vala
index
9182c28
..
7ebda98
100644
(file)
--- a/
JSDOC/TextStream.vala
+++ b/
JSDOC/TextStream.vala
@@
-49,9
+49,9
@@
namespace JSDOC {
},
- public char next(int n = 1
, out bool eof
)
+ public char next(int n = 1)
{
- eof = false;
+
if (n < 1) { //?? eof???
return '\0';
}
@@
-61,9
+61,9
@@
namespace JSDOC {
while (i < n) {
if (this.cursor+i < this.length) {
pulled += this.text.get_char(this.cursor+i);
- i
+=
pulled.to_string.length();
+ i
+=
pulled.to_string.length();
} else {
- eof =true;
+
return '\0';