]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.8
authorfred <fred>
Tue, 5 Nov 1996 16:43:30 +0000 (16:43 +0000)
committerfred <fred>
Tue, 5 Nov 1996 16:43:30 +0000 (16:43 +0000)
table.cc

index 53525743998509539178f72cc13b1f5947be88d1..58d1c425e12c639a656f1677cc61a3542d105d3f 100644 (file)
--- a/table.cc
+++ b/table.cc
@@ -3,6 +3,7 @@
 #include "string.hh"
 #include "identifier.hh"
 #include "keyword.hh"
+#include "associter.hh"
 #include "parser.hh"
 
 static Keyword_ent  the_key_tab[]={
@@ -23,6 +24,7 @@ static Keyword_ent  the_key_tab[]={
     "skip", SKIP,
     "commands", COMMANDS,
     "staff", STAFF,
+    "geometric", GEOMETRIC,
     0,0
 } ;
 
@@ -50,3 +52,13 @@ add_identifier(Identifier*i)
 {    
     the_id_tab[i->name] = i;
 }
+
+void
+delete_identifiers()
+{
+    
+    for (Assoc_iter<String,Identifier*> ai(the_id_tab); ai.ok(); ai++) {
+       mtor << "deleting: " << ai.key()<<'\n';
+       delete ai.val();
+    }
+}