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
bc26198
..
ff5f98c
100644
(file)
--- a/
JSDOC/TextStream.vala
+++ b/
JSDOC/TextStream.vala
@@
-39,6
+39,15
@@
namespace JSDOC {
}
return this.text[this.cursor+n];
},
+
+ public bool lookEOF(int n = 0)
+ {
+ if (this.cursor+n < 0 || this.cursor+n >= this.text.length) {
+ return true;
+ }
+ return false
+ },
+
public char next(int n = 1, out bool eof)
{