1
0
Fork 0
forked from suyu/suyu

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

View file

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