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
|
// Warn and return not found
|
||||||
if (errmsg != "") {
|
if (errmsg != "") {
|
||||||
fl->v3error(errmsg + filename);
|
fl->v3error(errmsg + "'"s + filename + "'"s);
|
||||||
filePathLookedMsg(fl, filename);
|
filePathLookedMsg(fl, filename);
|
||||||
}
|
}
|
||||||
return "";
|
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"
|
7 | `include "this_file_is_not_found.vh"
|
||||||
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
... Looked in:
|
... Looked in:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue