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
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;