Use 'suggest' in INCABSPATH warning
This commit is contained in:
parent
e94fc1305b
commit
bb9ee46f40
|
|
@ -91,7 +91,7 @@ protected:
|
|||
|
||||
void preprocInclude (FileLine* fl, const string& modname) {
|
||||
if (modname[0]=='/' || modname[0]=='\\') {
|
||||
fl->v3warn(INCABSPATH,"`include with absolute path should be relative, and use +include: "<<modname);
|
||||
fl->v3warn(INCABSPATH,"Suggest `include with absolute path be made relative, and use +include: "<<modname);
|
||||
}
|
||||
preprocOpen(fl, s_filterp, modname, "Cannot find include file: ");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ compile (
|
|||
make_top_shell => 0,
|
||||
make_main => 0,
|
||||
expect=>
|
||||
'%Warning-INCABSPATH: t/t_lint_incabspath.v:\d+: `include with absolute path should be relative, and use \+include: /dev/null
|
||||
'%Warning-INCABSPATH: t/t_lint_incabspath.v:\d+: Suggest `include with absolute path be made relative, and use \+include: /dev/null
|
||||
%Warning-INCABSPATH: Use .* to disable this message.
|
||||
%Error: Exiting due to.*',
|
||||
) if $Self->{v3};
|
||||
|
|
|
|||
Loading…
Reference in New Issue