Change code flow and variable statements

- Labels (`lbl`) in functions are now local
- Fix code smell problems
This commit is contained in:
Stone_Red
2022-03-31 12:56:35 +02:00
parent 6a4fe4f871
commit 29bbcebf74
4 changed files with 47 additions and 10 deletions
@@ -81,8 +81,8 @@ namespace YesNt.Interpreter.Statements
}
}
[StaticStatement(ExecuteInSearchLabelMode = true)]
public void ReadVariable()
[Statement(">", SearchMode.Contains, SpaceAround.None, Priority = Priority.Highest)]
public void ReadVariable(string _)
{
if (!RuntimeInfo.CurrentLine.Contains('>'))
{