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:
830ef38
)
src/Palete/ValaSource.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 29 Apr 2015 13:39:36 +0000
(21:39 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 29 Apr 2015 13:39:36 +0000
(21:39 +0800)
src/Palete/ValaSource.vala
patch
|
blob
|
history
diff --git
a/src/Palete/ValaSource.vala
b/src/Palete/ValaSource.vala
index
9e51429
..
ad43975
100644
(file)
--- a/
src/Palete/ValaSource.vala
+++ b/
src/Palete/ValaSource.vala
@@
-324,7
+324,9
@@
namespace Palete {
if (context.report.get_errors () > 0) {
print("parse got errors");
((ValaSourceReport)context.report).dump();
if (context.report.get_errors () > 0) {
print("parse got errors");
((ValaSourceReport)context.report).dump();
+
Vala.CodeContext.pop ();
Vala.CodeContext.pop ();
+ this.file.compile_notice("END", "", 0, "");
return this.report.line_errors;
}
return this.report.line_errors;
}
@@
-336,6
+338,7
@@
namespace Palete {
print("check got errors");
((ValaSourceReport)context.report).dump();
Vala.CodeContext.pop ();
print("check got errors");
((ValaSourceReport)context.report).dump();
Vala.CodeContext.pop ();
+ this.file.compile_notice("END", "", 0, "");
return this.report.line_errors;
}
return this.report.line_errors;
}
@@
-358,6
+361,7
@@
namespace Palete {
*/
Vala.CodeContext.pop ();
*/
Vala.CodeContext.pop ();
+ this.file.compile_notice("END", "", 0, "");
print("%s\n", valac);
print("ALL OK?\n");
return this.report.line_errors;
print("%s\n", valac);
print("ALL OK?\n");
return this.report.line_errors;