mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Add quotes to not-found filenames
This commit is contained in:
parent
99a43b7695
commit
43a57da950
@ -575,7 +575,7 @@ string V3Options::filePath(FileLine* fl, const string& modname, const string& la
|
||||
|
||||
// Warn and return not found
|
||||
if (errmsg != "") {
|
||||
fl->v3error(errmsg + filename);
|
||||
fl->v3error(errmsg + "'"s + filename + "'"s);
|
||||
filePathLookedMsg(fl, filename);
|
||||
}
|
||||
return "";
|
||||
|
@ -1,4 +1,4 @@
|
||||
%Error: t/t_preproc_inc_notfound_bad.v:7:10: Cannot find include file: this_file_is_not_found.vh
|
||||
%Error: t/t_preproc_inc_notfound_bad.v:7:10: Cannot find include file: 'this_file_is_not_found.vh'
|
||||
7 | `include "this_file_is_not_found.vh"
|
||||
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
... Looked in:
|
||||
|
Loading…
Reference in New Issue
Block a user