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:
f4795b8
)
src/Palete/Palete.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Jun 2016 09:47:44 +0000
(17:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Jun 2016 09:47:44 +0000
(17:47 +0800)
src/Palete/Palete.vala
patch
|
blob
|
history
diff --git
a/src/Palete/Palete.vala
b/src/Palete/Palete.vala
index
40cb216
..
f672766
100644
(file)
--- a/
src/Palete/Palete.vala
+++ b/
src/Palete/Palete.vala
@@
-436,23
+436,7
@@
namespace Palete
var ret = new Gee.HashMap<int,string>();
p.packFile(code, file.path,"");
var ret = new Gee.HashMap<int,string>();
p.packFile(code, file.path,"");
- if (!p.hasErrors("")) {
- state.showCompileResult(new Json.Object());
- }
-
- if (estr.length > 0 ) {
-
- var bits = estr.split(",");
- if (bits.length > 2) {
- var linebits = bits[1].strip().split(" ");
- if (linebits.length > 1) {
- var line = int.parse(linebits[1]);
- // line is correct - but our standard for error messages is to do it start at '0'
- ret.set(line -1 , bits[2]);
- }
-
- }
- }
+ state.showCompileResult(p.result);
return ret;
return ret;