diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-15 14:17:49 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-15 14:17:49 +0300 |
| commit | 4fa27a868376a0371bab0628b122444e2919a964 (patch) | |
| tree | 0f3f3aca809da7c0d766688ab3569f889a442e8e /Software/Visual_Studio/Tango.Scripting/CompilerError.cs | |
| parent | 3f6a1cf39932b49de12bdb996786d51bbc9e38d4 (diff) | |
| download | Tango-4fa27a868376a0371bab0628b122444e2919a964.tar.gz Tango-4fa27a868376a0371bab0628b122444e2919a964.zip | |
Improved error tracking on stubs ui.
Diffstat (limited to 'Software/Visual_Studio/Tango.Scripting/CompilerError.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Scripting/CompilerError.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Scripting/CompilerError.cs b/Software/Visual_Studio/Tango.Scripting/CompilerError.cs index 367aba123..1f3705b23 100644 --- a/Software/Visual_Studio/Tango.Scripting/CompilerError.cs +++ b/Software/Visual_Studio/Tango.Scripting/CompilerError.cs @@ -8,11 +8,14 @@ namespace Tango.Scripting { public class CompilerError { + public String File { get; set; } public String Error { get; set; } + public int Line { get; set; } + public int Character { get; set; } public override string ToString() { - return Error; + return String.Format("{0} {1} ({2},{3})", Error, File, Line, Character); } } } |
