+
+
+/*-----------------------------------.
+| Set default %destructor/%printer. |
+`-----------------------------------*/
+
+void
+default_destructor_set (const char *destructor, location loc)
+{
+ if (default_destructor != NULL)
+ {
+ complain_at (loc, _("redeclaration for default %%destructor"));
+ complain_at (default_destructor_location, _("previous declaration"));
+ }
+ default_destructor = destructor;
+ default_destructor_location = loc;
+}
+
+void
+default_printer_set (const char *printer, location loc)
+{
+ if (default_printer != NULL)
+ {
+ complain_at (loc, _("redeclaration for default %%printer"));
+ complain_at (default_printer_location, _("previous declaration"));
+ }
+ default_printer = printer;
+ default_printer_location = loc;
+}