projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JSDOC/TextStream.vala
[gnome.introspection-doc-generator]
/
JSDOC
/
TextStream.vala
diff --git
a/JSDOC/TextStream.vala
b/JSDOC/TextStream.vala
index
ff5f98c
..
229b2ca
100644
(file)
--- a/
JSDOC/TextStream.vala
+++ b/
JSDOC/TextStream.vala
@@
-29,12
+29,10
@@
namespace JSDOC {
this.cursor = 0;
}
- public char look(int n = 0
, out bool eof
)
+ public char look(int n = 0)
{
- eof = false;
-
+
if (this.cursor+n < 0 || this.cursor+n >= this.text.length) {
- eof = true;
return '\0';
}
return this.text[this.cursor+n];