From: Alan Knowles Date: Wed, 29 Apr 2015 13:39:36 +0000 (+0800) Subject: src/Palete/ValaSource.vala X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=3b215d6e6583825828198ffbfd529f672980f873 src/Palete/ValaSource.vala --- diff --git a/src/Palete/ValaSource.vala b/src/Palete/ValaSource.vala index 9e5142954..ad43975d3 100644 --- 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(); + Vala.CodeContext.pop (); + this.file.compile_notice("END", "", 0, ""); return this.report.line_errors; } @@ -336,6 +338,7 @@ namespace Palete { print("check got errors"); ((ValaSourceReport)context.report).dump(); Vala.CodeContext.pop (); + this.file.compile_notice("END", "", 0, ""); return this.report.line_errors; } @@ -358,6 +361,7 @@ namespace Palete { */ Vala.CodeContext.pop (); + this.file.compile_notice("END", "", 0, ""); print("%s\n", valac); print("ALL OK?\n"); return this.report.line_errors;