[Bug translator/7035] -L mode should not suppress all errors

wenji dot huang at oracle dot com sourceware-bugzilla@sourceware.org
Wed Nov 19 05:32:00 GMT 2008


------- Additional Comments From wenji dot huang at oracle dot com  2008-11-19 05:31 -------
Seems the return value depended on number_errors affected by print_error.So, all
the error will be printed and correct value can be returned.

diff --git a/elaborate.cxx b/elaborate.cxx
index 7cbac31..def4846 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -1446,8 +1446,8 @@ systemtap_session::print_error (const semantic_error& e)
   string message_str[2];
   string align_semantic_error ("        ");
 
-  // NB: we don't print error messages during listing mode.
-  if (listing_mode) return;
 
   // We generate two messages.  The second one ([1]) is printed
   // without token compression, for purposes of duplicate elimination.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=7035

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list