mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-09 23:43:16 +02:00
- Fix code editor resize problems
- Fix crash when using `get` our `out` multiple times with the same variable name - Show the name of the file in which the error occured
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace YesNt.Interpreter.Runtime
|
||||
{
|
||||
internal class Line
|
||||
{
|
||||
public Line(string content, string fileName, int lineNumber)
|
||||
{
|
||||
Content = content;
|
||||
FileName = fileName;
|
||||
LineNumber = lineNumber;
|
||||
}
|
||||
|
||||
public string Content { get; set; }
|
||||
public string FileName { get; set; }
|
||||
public int LineNumber { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user