From 4fa27a868376a0371bab0628b122444e2919a964 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 15 May 2018 14:17:49 +0300 Subject: Improved error tracking on stubs ui. --- Software/Visual_Studio/Tango.Scripting/CompilerError.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Software/Visual_Studio/Tango.Scripting/CompilerError.cs') 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); } } } -- cgit v1.3.1