4 #include "inputstaff.hh"
5 #include "identparent.hh"
7 #include "associter.hh"
10 static Keyword_ent the_key_tab[]={
16 "duration", DURATIONCOMMAND,
17 "geometric", GEOMETRIC,
23 "octave", OCTAVECOMMAND,
34 "symboltables", SYMBOLTABLES,
35 "notenames", NOTENAMES,
39 "unitspace", UNITSPACE,
51 lookup_keyword(String s)
53 static Keyword_table table(the_key_tab);
54 return table.lookup(s);
57 Assoc<String, Identifier*> the_id_tab;
60 lookup_identifier(String s)
62 if (!the_id_tab.elt_query(s))
69 add_identifier(Identifier*i)
71 the_id_tab[i->name] = i;
77 for (Assoc_iter<String,Identifier*> ai(the_id_tab); ai.ok(); ai++) {
78 mtor << "deleting: " << ai.key()<<'\n';