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:
1ba0f00
)
src/JsRender/NodeToVala.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 04:49:14 +0000
(12:49 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 04:49:14 +0000
(12:49 +0800)
src/JsRender/NodeToVala.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/NodeToVala.vala
b/src/JsRender/NodeToVala.vala
index
92b18ae
..
0448bd2
100644
(file)
--- a/
src/JsRender/NodeToVala.vala
+++ b/
src/JsRender/NodeToVala.vala
@@
-52,7
+52,7
@@
public class JsRender.NodeToVala : Object {
this.xcls = node.xvala_xcls;
this.ret = "";
this.cur_line = parent == null ? 0 : parent.cur_line;
this.xcls = node.xvala_xcls;
this.ret = "";
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.top = parent == null ? this : parent.top;
this.ignoreList = new Gee.ArrayList<string>();
@@
-60,6
+60,13
@@
public class JsRender.NodeToVala : Object {
this.myvars = new Gee.ArrayList<string>();
this.vitems = new Gee.ArrayList<Node>();
this.file = null;
this.myvars = new Gee.ArrayList<string>();
this.vitems = new Gee.ArrayList<Node>();
this.file = null;
+
+ node.line = this.cur_line;
+ node.proplines = new Gee.HashMap<string,int>();
+ node.listenlines = Gee.HashMap<string,int>();
+
+
+
}
public int vcnt = 0;
}
public int vcnt = 0;