JSDOC/TokenReader.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 Oct 2015 09:00:31 +0000 (17:00 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 Oct 2015 09:00:31 +0000 (17:00 +0800)
JSDOC/TokenReader.vala

index fca8761..fcc6159 100644 (file)
@@ -267,10 +267,10 @@ namespace JSDOC {
                 //print("Error - comma found before " + found);
                 //print(JSON.stringify(tokens.lastSym(), null,4));
                 if (this.ignoreBadGrammer) {
-                    print("\n" + this.filename + ':' + this.line + " Error - comma found before " + found);
+                    print("\n" + this.filename + ":" + this.line.to_string() + " Error - comma found before " + found);
                 } else {
                     throw new TokenReader_Error.ArgumentError(
-                                this.filename + ":" + this.line + "  comma found before " + found
+                                this.filename + ":" + this.line.to_string() + "  comma found before " + found
                   
                     );