* c-typeprint.c (c_typedef_print): Add missing Chill support.

This commit is contained in:
Per Bothner 1994-09-02 00:34:43 +00:00
parent 5b676c51ac
commit 6a2eecace5
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Thu Sep 1 17:32:54 1994 Per Bothner (bothner@kalessin.cygnus.com)
* c-typeprint.c (c_typedef_print): Add missing Chill support.
Thu Sep 1 15:41:21 1994 Stu Grossman (grossman@cygnus.com)
* rs6000-pinsn.c (print_insn): Use powerpc disassembler when

View File

@ -87,7 +87,14 @@ c_typedef_print (type, new, stream)
#endif
#ifdef _LANG_chill
case language_chill:
error ("Missing Chill support in function c_typedef_print."); /*FIXME*/
fprintf_filtered(stream, "SYNMODE ");
if(!TYPE_NAME(SYMBOL_TYPE(new)) ||
!STREQ (TYPE_NAME(SYMBOL_TYPE(new)), SYMBOL_NAME(new)))
fprintf_filtered(stream, "%s = ", SYMBOL_SOURCE_NAME(new));
else
fprintf_filtered(stream, "<builtin> = ");
type_print(type,"",stream,0);
break;
#endif
default:
error("Language not supported.");