- fatal_at (startsymbol_location,
- _("the start symbol %s is a token"),
- startsymbol->tag);
-}
-
-
-/*--------------------------------------------------.
-| Set default tagged/tagless %destructor/%printer. |
-`--------------------------------------------------*/
-
-void
-default_tagged_destructor_set (const char *destructor, location loc)
-{
- if (default_tagged_destructor != NULL)
- {
- complain_at (loc, _("redeclaration for default tagged %%destructor"));
- complain_at (default_tagged_destructor_location,
- _("previous declaration"));
- }
- default_tagged_destructor = destructor;
- default_tagged_destructor_location = loc;
-}
-
-void
-default_tagless_destructor_set (const char *destructor, location loc)
-{
- if (default_tagless_destructor != NULL)
- {
- complain_at (loc, _("redeclaration for default tagless %%destructor"));
- complain_at (default_tagless_destructor_location,
- _("previous declaration"));
- }
- default_tagless_destructor = destructor;
- default_tagless_destructor_location = loc;
-}
-
-void
-default_tagged_printer_set (const char *printer, location loc)
-{
- if (default_tagged_printer != NULL)
- {
- complain_at (loc, _("redeclaration for default tagged %%printer"));
- complain_at (default_tagged_printer_location,
- _("previous declaration"));
- }
- default_tagged_printer = printer;
- default_tagged_printer_location = loc;
-}
-
-void
-default_tagless_printer_set (const char *printer, location loc)
-{
- if (default_tagless_printer != NULL)
- {
- complain_at (loc, _("redeclaration for default tagless %%printer"));
- complain_at (default_tagless_printer_location,
- _("previous declaration"));
- }
- default_tagless_printer = printer;
- default_tagless_printer_location = loc;