소스 검색

Add missing break in OPCODES.OUTPUT

ApisNecros 1 년 전
부모
커밋
4ede59f9b3
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;