diff options
author | Levi Bard <levibard@mono-cvs.ximian.com> | 2010-02-23 20:38:48 +0300 |
---|---|---|
committer | Levi Bard <levibard@mono-cvs.ximian.com> | 2010-02-23 20:38:48 +0300 |
commit | b88b41229074595c69f67e503dc84e00befdca2f (patch) | |
tree | acb96f9544df3af09a857db0e55e249841aca93c /extras/ValaBinding | |
parent | a87c6a5d3c8c72e95c68dd1ca9f18f6f267554eb (diff) |
* Compiler/ValaCompiler.cs: Support gcc note, translated error levels.
svn path=/trunk/monodevelop/; revision=152278
Diffstat (limited to 'extras/ValaBinding')
-rw-r--r-- | extras/ValaBinding/ChangeLog | 5 | ||||
-rw-r--r-- | extras/ValaBinding/Compiler/ValaCompiler.cs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/extras/ValaBinding/ChangeLog b/extras/ValaBinding/ChangeLog index 403f9ebef1..99aaee5d9d 100644 --- a/extras/ValaBinding/ChangeLog +++ b/extras/ValaBinding/ChangeLog @@ -1,3 +1,8 @@ +2010-02-23 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> + + * Compiler/ValaCompiler.cs: Support gcc note, translated error + levels. + 2010-02-18 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> * Parser/ProjectInformation.cs: Add sibling types. diff --git a/extras/ValaBinding/Compiler/ValaCompiler.cs b/extras/ValaBinding/Compiler/ValaCompiler.cs index b5ae2fdc56..1da5b34597 100644 --- a/extras/ValaBinding/Compiler/ValaCompiler.cs +++ b/extras/ValaBinding/Compiler/ValaCompiler.cs @@ -519,7 +519,7 @@ namespace MonoDevelop.ValaBinding error.Line = int.Parse (errorMatch.Groups["line"].Value); if (errorMatch.Groups["column"].Success) error.Column = int.Parse (errorMatch.Groups["column"].Value); - error.IsWarning = errorMatch.Groups["level"].Value.Equals ("warning"); + error.IsWarning = !errorMatch.Groups["level"].Value.Equals (GettextCatalog.GetString ("error"), StringComparison.Ordinal); error.ErrorText = errorMatch.Groups["message"].Value; return error; |