修复goto跳转时缓存分支缺少设置跳转点的错误
This commit is contained in:
@@ -17,6 +17,7 @@ namespace Convention.RScript.Runner
|
||||
{
|
||||
depth = jumpResult.Item1;
|
||||
lastLayer = jumpResult.Item2;
|
||||
context.CurrentRuntimePointer = target;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -266,9 +266,16 @@ namespace Convention.RScript
|
||||
|
||||
public int StepCount { get; private set; }
|
||||
|
||||
#if DEBUG
|
||||
public List<RScriptSentence> StepStack = new();
|
||||
#endif
|
||||
|
||||
internal object RunNextStep(ExpressionParser parser)
|
||||
{
|
||||
StepCount++;
|
||||
#if DEBUG
|
||||
StepStack.Add(CurrentSentence);
|
||||
#endif
|
||||
var sentence = CurrentSentence;
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user