]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/keyword.hh
* lily/staff-symbol-engraver.cc (acknowledge_grob): remove item ->
[lilypond.git] / lily / include / keyword.hh
index 74bcc33c48427d6868021452570ee4a1617c4004..06d86a41429d276984028daccf3188d0d660f4b6 100644 (file)
@@ -1,23 +1,28 @@
 /*
   keyword.hh -- part of GNU LilyPond
 
-  (c) 1996--1999 Han-Wen Nienhuys
+  (c) 1996--2004 Han-Wen Nienhuys
 */
 
 #ifndef KEYWORD_HH
 #define KEYWORD_HH
 
+#include "array.hh"
+
 /* for the keyword table */
 struct Keyword_ent
 {
-  char const *name;
-  int     tokcode;
+  char const *name_;
+  int     tokcode_;
 };
 
+/*
+  junkme, use  hash table.
+ */
 struct Keyword_table
 {
-  Keyword_ent *table;
-  int     maxkey;
+  Array<Keyword_ent> table_;
+
   Keyword_table (Keyword_ent *);
   int     lookup (char const *s) const;
 };