Use 'suggest' in INCABSPATH warning

This commit is contained in:
Wilson Snyder 2010-12-26 08:19:45 -05:00
parent e94fc1305b
commit bb9ee46f40
2 changed files with 2 additions and 2 deletions

View File

@ -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: ");
}

View 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};