Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vlstill committed Jul 29, 2024
1 parent 0500e35 commit 64c72a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontends/p4/validateParsedProgram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ void ValidateParsedProgram::postorder(const IR::SwitchStatement *statement) {
::error(ErrorType::ERR_INVALID, "%1%switch has multiple 'default' labels:%2%%3%",
statement->srcInfo, defaultFound->label->srcInfo, c->label->srcInfo);
else
::error(ErrorType::ERR_INVALID, "%1%switch label %2% follows 'default' label, "
"which is not allowed.%3%", statement->srcInfo, c->label,
defaultFound->label->srcInfo);
::error(ErrorType::ERR_INVALID,
"%1%switch label %2% follows 'default' label, which is not allowed.%3%",
statement->srcInfo, c->label, defaultFound->label->srcInfo);
break;
}
if (c->label->is<IR::DefaultExpression>()) defaultFound = c;
Expand Down

0 comments on commit 64c72a5

Please sign in to comment.