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:
d5bf311
)
Palete/Palete.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Oct 2014 13:56:47 +0000
(21:56 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Oct 2014 13:56:47 +0000
(21:56 +0800)
Palete/Palete.vala
patch
|
blob
|
history
diff --git
a/Palete/Palete.vala
b/Palete/Palete.vala
index
9c992f0
..
c998887
100644
(file)
--- a/
Palete/Palete.vala
+++ b/
Palete/Palete.vala
@@
-429,6
+429,22
@@
namespace Palete
ret.set(line, errmsg);
return ret;
}
+ if (file.language == "vala" ) { // not sure if we need to validate property
+
+
+ //var cd = new JSCore.ClassDefinitionEmpty();
+
+ string errmsg;
+ var line = ValaSource.singleton().validate(
+ "var __aaa___ = " + code, out errmsg);
+
+ if (line < 0) {
+ return ret;
+ }
+ ret.set(line, errmsg);
+ return ret;
+ }
+
print ("not javascript\n");
return ret;