Răsfoiți Sursa

Add missing break in OPCODES.OUTPUT

ApisNecros 1 an în urmă
părinte
comite
4ede59f9b3
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      IntComp/Computer.js

+ 2 - 0
IntComp/Computer.js

@@ -59,7 +59,9 @@ module.exports = class Computer {
             }
             case this.OPCODES.OUTPUT: {
                 const outputPosition = this.stack.Next().Get();
+
                 this.Operation_Output(outputPosition);
+                break;
             }
             case this.OPCODES.HALT:
                 status = false;