hack the RALint output format so VS shows errors as errors. Source position would be nice too, but that requires actual work.

This commit is contained in:
Chris Forbes
2010-07-01 18:34:27 +12:00
parent 2d9e5c6fcd
commit 8974fb7ae8

View File

@@ -1,12 +1,10 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenRA.FileFormats;
using System.Reflection;
using OpenRA;
using OpenRA.FileFormats;
using OpenRA.GameRules;
using OpenRA.Traits;
using System.Reflection;
namespace RALint
{
@@ -30,7 +28,7 @@ namespace RALint
static void EmitError(string e)
{
Console.WriteLine(e);
Console.WriteLine("RALint(1,1): Error: {0}", e);
++errors;
}