Add missing “break” for consistency

master
Sébastien Villemot 2022-07-08 16:10:23 +02:00
parent 4b30342dc2
commit 9b34fe856f
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ SymbolList::checkPass(WarningConsolidation &warnings, const vector<SymbolType> &
break;
case SymbolType::excludedVariable:
valid_types += "excludedVariable, ";
break;
}
valid_types = valid_types.erase(valid_types.size()-2, 2);
throw SymbolListException{"Variable " + symbol + " is not one of {" + valid_types + "}"};