summaryrefslogtreecommitdiff
path: root/table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'table.cc')
-rw-r--r--table.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/table.cc b/table.cc
index 5352574399..58d1c425e1 100644
--- 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();
+ }
+}