Created
January 26, 2010 08:12
-
-
Save migueldeicaza/286662 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
miguel@linux-bytm:/cvs/mcs/mcs> svn diff | |
Index: report.cs | |
=================================================================== | |
--- report.cs (revision 150199) | |
+++ report.cs (working copy) | |
@@ -385,8 +385,10 @@ | |
public void Error (int code, Location loc, string error) | |
{ | |
- if (reporting_disabled > 0) | |
+ if (reporting_disabled > 0){ | |
+ printer.MarkError (); | |
return; | |
+ } | |
ErrorMessage msg = new ErrorMessage (code, loc, error, extra_information); | |
extra_information.Clear (); | |
@@ -665,6 +667,11 @@ | |
++errors; | |
} | |
+ public void MarkError () | |
+ { | |
+ errors++; | |
+ } | |
+ | |
protected void Print (AbstractMessage msg, TextWriter output) | |
{ | |
StringBuilder txt = new StringBuilder (); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment