source file of the GNU LilyPond music typesetter
- (c) 1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include <ctype.h>
static Keyword_ent the_key_tab[]={
{"alias", ALIAS},
{"apply", APPLY},
+ {"applycontext", APPLYCONTEXT},
+ {"applyoutput", APPLYOUTPUT},
{"autochange", AUTOCHANGE},
{"simultaneous", SIMULTANEOUS},
{"sequential", SEQUENTIAL},
{"alternative", ALTERNATIVE},
{"bar", BAR},
{"breathe", BREATHE},
- {"char", CHAR_T},
{"chordmodifiers", CHORDMODIFIERS},
{"chords", CHORDS},
{"clef", CLEF},
- {"cm", CM_T},
{"consists", CONSISTS},
{"consistsend", CONSISTSEND},
{"context", CONTEXT},
{"default", DEFAULT},
{"denies", DENIES},
+ {"description", DESCRIPTION},
{"duration", DURATION},
{"grobdescriptions", GROBDESCRIPTIONS},
{"figures",FIGURES},
{"grace", GRACE},
{"header", HEADER},
- {"in", IN_T},
{"lyrics", LYRICS},
{"key", KEY},
{"mark", MARK},
+ {"markup", MARKUP},
{"once", ONCE},
{"pitch", PITCH},
{"time", TIME_T},
{"times", TIMES},
{"midi", MIDI},
- {"mm", MM_T},
{"name", NAME},
{"pitchnames", PITCHNAMES},
{"notes", NOTES},
{"partial", PARTIAL},
{"paper", PAPER},
{"property", PROPERTY},
- {"pt", PT_T},
{"relative", RELATIVE},
{"remove", REMOVE},
{"repeat", REPEAT},
return scm_variable_ref(var);
}
- return SCM_UNSPECIFIED;
+ return SCM_UNDEFINED;
}
void
{
last_input_ = here_input();
}
+
+#if 0
+SCM
+My_lily_lexer::scan_markup_word (String s)
+{
+ /*
+ TODO: better implementation:
+
+ - make a table of markup functions, for quicker lookup
+
+ - error handling.
+
+ */
+ SCM s = scm_c_eval_str ((s + "-markup").to_str0());
+ yylval.scm = s;
+ return MARKUP_HEAD;
+}
+#endif