From bb9ee46f404f1602011061a6a4a16ff7fb308791 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 26 Dec 2010 08:19:45 -0500 Subject: [PATCH] Use 'suggest' in INCABSPATH warning --- src/V3PreShell.cpp | 2 +- test_regress/t/t_lint_incabspath_bad.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3PreShell.cpp b/src/V3PreShell.cpp index e2150a7f2..4c91d3a24 100644 --- a/src/V3PreShell.cpp +++ b/src/V3PreShell.cpp @@ -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: "<v3warn(INCABSPATH,"Suggest `include with absolute path be made relative, and use +include: "< 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};