3
0
Fork 0
forked from suyu/suyu

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