]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/keyword.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / keyword.hh
1 /*
2   keyword.hh -- part of GNU LilyPond
3
4   (c) 1996--2008 Han-Wen Nienhuys
5 */
6
7 #ifndef KEYWORD_HH
8 #define KEYWORD_HH
9
10 #include "std-vector.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   vector<Keyword_ent> table_;
25
26   Keyword_table (Keyword_ent *);
27   vsize lookup (char const *s) const;
28 };
29
30 #endif // KEYWORD_HH
31