Commit 224c649b by Bruno Haible Committed by Jason Merrill

* error.c (dump_decl): For enum tags, output the tag, not its value.

From-SVN: r17381
parent 5d483f63
Fri Jan 16 11:40:50 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
* error.c (dump_decl): For enum tags, output the tag, not its value.
1998-01-13 Brendan Kehoe <brendan@cygnus.com>
* decl.c (init_decl_processing): Only call init_rtti_processing
......
......@@ -810,6 +810,8 @@ dump_decl (t, v)
|| (DECL_INITIAL (t) &&
TREE_CODE (DECL_INITIAL (t)) == TEMPLATE_CONST_PARM))
goto general;
else if (DECL_NAME (t))
dump_decl (DECL_NAME (t), v);
else if (DECL_INITIAL (t))
dump_expr (DECL_INITIAL (t), 0);
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment