bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] symlist: use the right stream


From: Akim Demaille
Subject: [PATCH 1/3] symlist: use the right stream
Date: Fri, 1 Feb 2013 14:28:17 +0100

* src/symlist.c (symbol_list_syms_print): Use "f", not stderr.
---
 src/symlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/symlist.c b/src/symlist.c
index 13759e3..f9ec837 100644
--- a/src/symlist.c
+++ b/src/symlist.c
@@ -88,7 +88,7 @@ symbol_list_syms_print (const symbol_list *l, FILE *f)
   for (/* Nothing. */; l && l->content.sym; l = l->next)
     {
       symbol_print (l->content.sym, f);
-      fprintf (stderr, l->action_props.is_value_used ? " used" : " unused");
+      fprintf (f, l->action_props.is_value_used ? " used" : " unused");
       if (l && l->content.sym)
         fprintf (f, ", ");
     }
-- 
1.8.1.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]