From 708ce1f3a663fc765d589a7547c906d05791e5e1 Mon Sep 17 00:00:00 2001 From: Wenji Huang Date: Thu, 27 Nov 2008 10:52:47 -0500 Subject: PR7035: don't suppress all error messages during listings mode --- main.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.cxx') diff --git a/main.cxx b/main.cxx index 0cc47804..91c20ddb 100644 --- a/main.cxx +++ b/main.cxx @@ -939,7 +939,7 @@ main (int argc, char * const argv []) << endl; } - if (rc) + if (rc && !s.listing_mode) cerr << "Pass 1: parse failed. " << "Try again with another '--vp 1' option." << endl; @@ -967,7 +967,7 @@ main (int argc, char * const argv []) << TIMESPRINT << endl; - if (rc) + if (rc && !s.listing_mode) cerr << "Pass 2: analysis failed. " << "Try again with another '--vp 01' option." << endl; -- cgit