mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
Internals: Use C++14 quoted literal std::string
This commit is contained in:
+2
-2
@@ -102,8 +102,8 @@ protected:
|
||||
// intervening +<lang>ext+ options since it was first encountered.
|
||||
FileLine* const modfileline = new FileLine{modfilename};
|
||||
modfileline->language(v3Global.opt.fileLanguage(modfilename));
|
||||
V3Parse::ppPushText(parsep, (std::string{"`begin_keywords \""}
|
||||
+ modfileline->language().ascii() + "\"\n"));
|
||||
V3Parse::ppPushText(
|
||||
parsep, ("`begin_keywords \""s + modfileline->language().ascii() + "\"\n"));
|
||||
// FileLine tracks and frees modfileline
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user