src/JsRender/NodeToVala.vala
authorAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 06:28:27 +0000 (14:28 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 06:28:27 +0000 (14:28 +0800)
src/JsRender/NodeToVala.vala

index 6d94e23..8cdd781 100644 (file)
@@ -188,7 +188,7 @@ public class JsRender.NodeToVala : Object {
        public void addLine(string str= "")
        {
                this.cur_line++;
-               this.ret += str + "\n";
+               this.ret += "/*%d*/ ".printf(this.cur_line-1) + str + "\n";
        }
        public void addMultiLine(string str= "")
        {