]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/keyword.hh
release: 1.5.2
[lilypond.git] / lily / include / keyword.hh
1 /*
2   keyword.hh -- part of GNU LilyPond
3
4   (c) 1996--2001 Han-Wen Nienhuys
5 */
6
7 #ifndef KEYWORD_HH
8 #define KEYWORD_HH
9
10 #include "array.hh"
11
12 /* for the keyword table */
13 struct Keyword_ent
14 {
15   char const *name_;
16   int     tokcode_;
17 };
18
19 /*
20   junkme, use  hash table.
21  */
22 struct Keyword_table
23 {
24   Array<Keyword_ent> table_;
25
26   Keyword_table (Keyword_ent *);
27   int     lookup (char const *s) const;
28 };
29
30
31 #endif // KEYWORD_HH
32