Add missing “break” for consistency
parent
4b30342dc2
commit
9b34fe856f
|
@ -102,6 +102,7 @@ SymbolList::checkPass(WarningConsolidation &warnings, const vector<SymbolType> &
|
||||||
break;
|
break;
|
||||||
case SymbolType::excludedVariable:
|
case SymbolType::excludedVariable:
|
||||||
valid_types += "excludedVariable, ";
|
valid_types += "excludedVariable, ";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
valid_types = valid_types.erase(valid_types.size()-2, 2);
|
valid_types = valid_types.erase(valid_types.size()-2, 2);
|
||||||
throw SymbolListException{"Variable " + symbol + " is not one of {" + valid_types + "}"};
|
throw SymbolListException{"Variable " + symbol + " is not one of {" + valid_types + "}"};
|
||||||
|
|
Loading…
Reference in New Issue