diff --git a/Trs80.Level1Basic.VirtualMachine/Interpreter/IInterpreter.cs b/Trs80.Level1Basic.VirtualMachine/Interpreter/IInterpreter.cs index 06e63f0..3375cde 100644 --- a/Trs80.Level1Basic.VirtualMachine/Interpreter/IInterpreter.cs +++ b/Trs80.Level1Basic.VirtualMachine/Interpreter/IInterpreter.cs @@ -4,7 +4,7 @@ namespace Trs80.Level1Basic.VirtualMachine.Interpreter; -public interface IInterpreter : IExpressionVisitor, IStatementVisitor +public interface IInterpreter : IExpressionVisitor, IStatementVisitor { Statement CurrentStatement { get; } void Interpret(ParsedLine line); diff --git a/Trs80.Level1Basic.VirtualMachine/Interpreter/Interpreter.cs b/Trs80.Level1Basic.VirtualMachine/Interpreter/Interpreter.cs index dde11fd..8114dca 100644 --- a/Trs80.Level1Basic.VirtualMachine/Interpreter/Interpreter.cs +++ b/Trs80.Level1Basic.VirtualMachine/Interpreter/Interpreter.cs @@ -226,7 +226,7 @@ private void WriteFloatValue(dynamic value) _sb.Append(value.ToString("######")); } - public sd VisitNextStatement(Next statement) + public void VisitNextStatement(Next statement) { ForCheckCondition checkCondition = GetCheckCondition(statement); dynamic nextIndexerValue = IncrementIndexer(checkCondition);