vala r1044 - in trunk: . compiler
- From: rasa svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1044 - in trunk: . compiler
- Date: Sun, 24 Feb 2008 10:25:47 +0000 (GMT)
Author: rasa
Date: Sun Feb 24 10:25:46 2008
New Revision: 1044
URL: http://svn.gnome.org/viewvc/vala?rev=1044&view=rev
Log:
2008-02-24 Raffaele Sandrini <raffaele sandrini ch>
* compiler/valacompiler.vala: be quiet on zero errors and zero,
fixes bug 516925
Modified:
trunk/ChangeLog
trunk/compiler/valacompiler.vala
Modified: trunk/compiler/valacompiler.vala
==============================================================================
--- trunk/compiler/valacompiler.vala (original)
+++ trunk/compiler/valacompiler.vala Sun Feb 24 10:25:46 2008
@@ -80,6 +80,9 @@
};
private int quit () {
+ if (Report.get_errors () == 0 && Report.get_warnings () == 0) {
+ return 0;
+ }
if (Report.get_errors () == 0) {
if (!quiet_mode) {
stdout.printf ("Compilation succeeded - %d warning(s)\n", Report.get_warnings ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]