Add default clauses to switch statements

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2018-04-01 01:54:42 +01:00
parent 516e4578ea
commit 85ece88268
5 changed files with 16 additions and 2 deletions

View File

@@ -850,7 +850,7 @@ uint32_t yylex(void)
return yylex_NORMAL();
case LEX_STATE_MACROARGS:
return yylex_MACROARGS();
default:
fatalerror("%s: Internal error.", __func__);
}
fatalerror("Internal error in %s", __func__);
}