X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fkeyword.hh;h=707c0b48ed00774198cbbe9f5aebb3112e164a16;hb=2745cbd907f8216a4cc1fc5f488ae19efdfdbd10;hp=2db22765e0a197ea4016fe4813f8f62a1b747df6;hpb=bb36bac02a64770871780231ecc709cb18b20932;p=lilypond.git diff --git a/lily/include/keyword.hh b/lily/include/keyword.hh index 2db22765e0..707c0b48ed 100644 --- a/lily/include/keyword.hh +++ b/lily/include/keyword.hh @@ -1,23 +1,28 @@ /* keyword.hh -- part of GNU LilyPond - (c) 1996--2000 Han-Wen Nienhuys + (c) 1996--2003 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 table_; + Keyword_table (Keyword_ent *); int lookup (char const *s) const; };