src/JsRender/NodeToVala.vala
authorAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 04:39:57 +0000 (12:39 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 04:39:57 +0000 (12:39 +0800)
src/JsRender/NodeToVala.vala

index 91d53d3..4f8a7af 100644 (file)
@@ -50,7 +50,7 @@ public class JsRender.NodeToVala : Object {
                this.cls = node.xvala_cls;
                this.xcls = node.xvala_xcls;
                this.ret = "";
-               this.line = 0;
+               this.line = parent.line;
                this.top = parent == null ? this : parent.top;
                this.ignoreList = new Gee.ArrayList<string>();
                this.ignoreWrappedList  = new Gee.ArrayList<string>();