]> git.donarmstrong.com Git - lilypond.git/blobdiff - src/identifier.cc
release: 0.0.20
[lilypond.git] / src / identifier.cc
index 40281ce718b345d82681e4406767323e3789f645..6241768694e77943c9e36d5c3eb630cd27037677 100644 (file)
@@ -1,28 +1,12 @@
 #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());
 }