Merge pull request #6725 from lioncash/control-token

control_flow: Fix duplicate switch case in OpcodeToken
This commit is contained in:
Rodrigo Locatti 2021-07-26 06:00:23 -03:00 committed by GitHub
commit 4afc2de129
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;