forked from ShuriZma/suyu
1
0
Fork 0

control_flow: Fix duplicate switch case in OpcodeToken

This previously duplicated the case of the PBK case above it.
This commit is contained in:
Lioncash 2021-07-26 04:16:32 -04:00
parent 7e272d3cd8
commit 0b67df1f7c
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ Token OpcodeToken(Opcode opcode) {
return Token::PBK; return Token::PBK;
case Opcode::PCNT: case Opcode::PCNT:
case Opcode::CONT: case Opcode::CONT:
return Token::PBK; return Token::PCNT;
case Opcode::PEXIT: case Opcode::PEXIT:
case Opcode::EXIT: case Opcode::EXIT:
return Token::PEXIT; return Token::PEXIT;