Internals: Favor s string literals. No functional change.

This commit is contained in:
Wilson Snyder
2024-07-14 11:39:45 -04:00
parent 74ae879c2f
commit 131623de34
16 changed files with 35 additions and 37 deletions
+2 -2
View File
@@ -1223,8 +1223,8 @@ int V3PreProcImp::getStateToken() {
if (VString::removeWhitespace(string{yyourtext(), yyourleng()}).empty()) {
return tok;
} else {
error(std::string{"Syntax error in `ifdef () expression; unexpected: '"}
+ tokenName(tok) + "'\n");
error("Syntax error in `ifdef () expression; unexpected: '"s + tokenName(tok)
+ "'\n");
}
goto next_tok;
}