mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 16:28:53 +02:00
Internals: Favor s string literals. No functional change.
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user