projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14efbef
)
src/JsRender/NodeToVala.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 04:41:29 +0000
(12:41 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 04:41:29 +0000
(12:41 +0800)
src/JsRender/NodeToVala.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/NodeToVala.vala
b/src/JsRender/NodeToVala.vala
index
baf9a7e
..
0e68c24
100644
(file)
--- a/
src/JsRender/NodeToVala.vala
+++ b/
src/JsRender/NodeToVala.vala
@@
-51,7
+51,9
@@
public class JsRender.NodeToVala : Object {
this.cls = node.xvala_cls;
this.xcls = node.xvala_xcls;
this.ret = "";
- node.line = parent == null ? 0 : .line;
+ this.cur_line = parent == null ? 0 : parent.cur_line;
+ node.line = this.cur_line;
+
this.top = parent == null ? this : parent.top;
this.ignoreList = new Gee.ArrayList<string>();
this.ignoreWrappedList = new Gee.ArrayList<string>();