فهرست منبع

Fix a bug where a functions command would not run in sync with the store and context processing instructions

Add source information to Break command
Lucas de Souza 4 سال پیش
والد
کامیت
9c94451597
2فایلهای تغییر یافته به همراه382 افزوده شده و 251 حذف شده
  1. 381 250
      js/ast/ivprogParser.js
  2. 1 1
      js/processor/ivprogProcessor.js

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 381 - 250
js/ast/ivprogParser.js


+ 1 - 1
js/processor/ivprogProcessor.js

@@ -146,7 +146,7 @@ export class IVProgProcessor {
       funcStore,
       func.variablesDeclarations
     );
-    const finalSto = this.executeCommands(stoWithVars, func.commands);
+    const finalSto = await this.executeCommands(stoWithVars, func.commands);
     this.stores.pop();
     this.context.pop();
     return finalSto;