X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmy-lily-lexer.cc;h=44843e402adc9850319b45cae997752afe73fee5;hb=f988425624a6f6d1a48aea0ac0c1c84ff0857e56;hp=adfde155302b912cd23a8278cbe2ee51701c2c4f;hpb=305fb79f24233b261b5372168f76520f84d2ea87;p=lilypond.git diff --git a/lily/my-lily-lexer.cc b/lily/my-lily-lexer.cc index adfde15530..44843e402a 100644 --- a/lily/my-lily-lexer.cc +++ b/lily/my-lily-lexer.cc @@ -40,6 +40,7 @@ static Keyword_ent the_key_tab[]={ {"consists", CONSISTS}, {"consistsend", CONSISTSEND}, {"context", CONTEXT}, + {"denies", DENIES}, {"duration", DURATION}, {"font", FONT}, {"grace", GRACE}, @@ -57,6 +58,10 @@ static Keyword_ent the_key_tab[]={ {"notenames", NOTENAMES}, {"notes", NOTES}, {"outputproperty", OUTPUTPROPERTY}, + {"pushproperty", PUSHPROPERTY}, + {"popproperty", POPPROPERTY}, + {"push", PUSH}, + {"pop", POP}, {"partial", PARTIAL}, {"paper", PAPER}, {"penalty", PENALTY}, @@ -66,6 +71,7 @@ static Keyword_ent the_key_tab[]={ {"remove", REMOVE}, {"repeat", REPEAT}, {"addlyrics", ADDLYRICS}, + {"partcombine", PARTCOMBINE}, {"score", SCORE}, {"script", SCRIPT}, {"skip", SKIP}, @@ -98,9 +104,12 @@ My_lily_lexer::lookup_identifier (String s) SCM sym = ly_symbol2scm (s.ch_C()); for (int i = scope_l_arr_.size (); i--; ) - if (scope_l_arr_[i]->elem_b (sym)) - return scope_l_arr_[i]->scm_elem(sym); - return SCM_UNDEFINED; + { + SCM val = SCM_UNSPECIFIED; + if (scope_l_arr_[i]->try_retrieve (sym, &val)) + return val; + } + return SCM_UNSPECIFIED; } void