source file of the GNU LilyPond music typesetter
- (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include <strstream.h>
#include "my-lily-lexer.hh"
#include "debug.hh"
#include "source-file.hh"
-#include "parseconstruct.hh"
#include "main.hh"
#include "scope.hh"
+#include "input.hh"
static Keyword_ent the_key_tab[]={
- {"absdynamic", ABSDYNAMIC},
+ {"spanrequest", SPANREQUEST},
+ {"simultaneous", SIMULTANEOUS},
+ {"sequential", SEQUENTIAL},
{"accepts", ACCEPTS},
{"alternative", ALTERNATIVE},
{"bar", BAR},
+ {"breathe", BREATHE},
{"cadenza", CADENZA},
{"chordmodifiers", CHORDMODIFIERS},
{"chords", CHORDS},
{"clef", CLEF},
{"cm", CM_T},
{"consists", CONSISTS},
+ {"consistsend", CONSISTSEND},
+ {"context", CONTEXT},
{"duration", DURATION},
{"font", FONT},
- {"grouping", GROUPING},
+ {"grace", GRACE},
{"header", HEADER},
{"in", IN_T},
{"lyrics", LYRICS},
{"mm", MM_T},
{"name", NAME},
{"notenames", NOTENAMES},
- {"notes" , NOTES},
+ {"notes", NOTES},
{"partial", PARTIAL},
{"paper", PAPER},
{"penalty", PENALTY},
{"relative", RELATIVE},
{"remove", REMOVE},
{"repeat", REPEAT},
+ {"repetitions", REPETITIONS},
+ {"addlyrics", ADDLYRICS},
{"scm", SCM_T},
{"scmfile", SCMFILE},
{"score", SCORE},
{"script", SCRIPT},
{"shape", SHAPE},
{"skip", SKIP},
- {"spandynamic", SPANDYNAMIC},
+ {"textscript", TEXTSCRIPT},
{"tempo", TEMPO},
{"translator", TRANSLATOR},
- {"type", TYPE},
{"transpose", TRANSPOSE},
+ {"type", TYPE},
{"version", VERSION},
{0,0}
};
My_lily_lexer::~My_lily_lexer()
{
+ delete chordmodifier_tab_p_;
delete keytable_p_;
delete toplevel_scope_p_ ;
delete note_tab_p_;
}
return 0;
}
+
+Input
+My_lily_lexer::here_input () const
+{
+ Source_file * f_l= source_file_l();
+ return Input (f_l, here_ch_C());
+}