#include <assert.h>
-#include "identifier.hh"
-#include "staff.hh"
-#include "lexer.hh"
-#include "inputmusic.hh"
-
-
-Identifier::Identifier(String n)
- :name (n)
-{
- data = 0;
-}
-
-Identifier::~Identifier()
-{
-}
-
-Staff_id::~Staff_id()
-{
- delete staff();
-}
+#include "identparent.hh"
+#include "lexer.hh"
+#include "debug.hh"
-Voices_id::~Voices_id()
+void
+Identifier::error()
{
- voices()->junk();
- delete voices();
+ String e("Wrong identifier type: ");
+ ::error(e + classname());
}