From 9b34fe856f04a37a65c294331fda0e3abd8959d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Fri, 8 Jul 2022 16:10:23 +0200 Subject: [PATCH] =?UTF-8?q?Add=20missing=20=E2=80=9Cbreak=E2=80=9D=20for?= =?UTF-8?q?=20consistency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/SymbolList.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SymbolList.cc b/src/SymbolList.cc index 2bb52d77..6a5bba29 100644 --- a/src/SymbolList.cc +++ b/src/SymbolList.cc @@ -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 + "}"}; -- GitLab