summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx4
1 files changed, 2 insertions, 2 deletions
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;