repo.or.cz
/
lilypond.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lilypond-0.0.1
[lilypond.git]
/
table.cc
blob
45e6f4a0e476887a5e11312ef44cdb83c2be2f8a
1
#include
"glob.hh"
2
#include
"string.hh"
3
#include
"keyword.hh"
4
#include
"parser.hh"
5
6
static
Keyword_ent the_key_tab
[]={
7
"voice"
,
VOICE
,
8
"rhythmstaff"
,
RHYTHMSTAFF
,
9
"score"
,
SCORE
,
10
"bar"
,
BAR
,
11
0
,
0
12
} ;
13
14
15
int
16
lookup_keyword
(
String s
)
17
{
18
static
Keyword_table
table
(
the_key_tab
);
19
return
table
.
lookup
(
s
);
20
}
21
22
Identifier
*
23
lookup_identifier
(
String s
)
24
{
25
assert
(
false
);
26
return
0
;
27
}