JSDOC/TokenReader.js
[gnome.introspection-doc-generator] / JSDOC / TextStream.vala
index efd089d..f5bb725 100644 (file)
@@ -58,12 +58,12 @@ namespace JSDOC {
                 return "\0";
             }
                 
-            string pulled;
+            string pulled = "";
             var i = 0;
             while (i < n) {
                 if (this.cursor+i < this.length) {
                     var add = this.text[this.cursor+i]; //this.text.get_char(this.cursor+i).to_string();
-                    pulled += add;
+                    pulled += add.to_string();
                     i += 1;// add.length;
                 } else {
                     return "";