]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.1
authorfred <fred>
Thu, 5 Sep 1996 23:28:40 +0000 (23:28 +0000)
committerfred <fred>
Thu, 5 Sep 1996 23:28:40 +0000 (23:28 +0000)
table.cc [new file with mode: 0644]

diff --git a/table.cc b/table.cc
new file mode 100644 (file)
index 0000000..45e6f4a
--- /dev/null
+++ b/table.cc
@@ -0,0 +1,27 @@
+#include "glob.hh"
+#include "string.hh"
+#include "keyword.hh"
+#include "parser.hh"
+
+static Keyword_ent  the_key_tab[]={
+    "voice", VOICE,
+    "rhythmstaff", RHYTHMSTAFF,
+    "score", SCORE,
+    "bar", BAR,
+    0,0
+} ;
+
+
+int
+lookup_keyword(String s)
+{
+    static Keyword_table table(the_key_tab);
+    return table.lookup(s);
+}
+
+Identifier*
+lookup_identifier(String s)
+{
+    assert(false);
+    return 0;
+}