From: Alan Knowles Date: Tue, 22 Sep 2015 09:32:38 +0000 (+0800) Subject: JSDOC/TextStream.vala X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=ac90c725e0e9b792fe2604c97285670a16cf1bf8 JSDOC/TextStream.vala --- diff --git a/JSDOC/TextStream.vala b/JSDOC/TextStream.vala index 0d662ee..e5f85b5 100644 --- a/JSDOC/TextStream.vala +++ b/JSDOC/TextStream.vala @@ -38,15 +38,15 @@ namespace JSDOC { return '\0'; } return this.get_char(this.cursor+n); - }, + } public bool lookEOF(int n = 0) { - if (this.cursor+n < 0 || this.cursor+n >= this.length)) { + if (this.cursor+n < 0 || this.cursor+n >= this.length) { return true; } - return false - }, + return false; + } /** * @param n - number of characters to return.. @@ -62,7 +62,7 @@ namespace JSDOC { var i = 0; while (i < n) { if (this.cursor+i < this.length) { - var add = this.text.get_char(this.cursor+i).to_string() + var add = this.text.get_char(this.cursor+i).to_string(); pulled += add; i += add.length; } else {