-/*-----------------------------------------.
-| Prepend SYMBOL at LOCATION to the LIST. |
-`-----------------------------------------*/
+/*------------------.
+| Print this list. |
+`------------------*/
+
+void
+symbol_list_print (const symbol_list *l, FILE *f)
+{
+ for (/* Nothing. */; l && l->sym; l = l->next)
+ {
+ symbol_print (l->sym, f);
+ fprintf (stderr, l->used ? " used" : " unused");
+ if (l && l->sym)
+ fprintf (f, ", ");
+ }
+}
+
+
+/*---------------------------------.
+| Prepend SYM at LOC to the LIST. |
+`---------------------------------*/