source file of the GNU LilyPond music typesetter
- (c) 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include <strstream.h>
#include "scope.hh"
static Keyword_ent the_key_tab[]={
+ {"absdynamic", ABSDYNAMIC},
{"accepts", ACCEPTS},
+ {"accidentals", ACCIDENTALS},
{"bar", BAR},
{"cadenza", CADENZA},
{"clear", CLEAR},
{"consists", CONSISTS},
{"contains", CONTAINS},
{"duration", DURATION},
- {"absdynamic", ABSDYNAMIC},
+ {"font", FONT},
+ {"grouping", GROUPING},
{"in", IN_T},
- {"translator", TRANSLATOR},
- {"type", TYPE},
{"lyric", LYRIC},
{"key", KEY},
+ {"mark", MARK},
{"melodic" , MELODIC},
- {"musical_pitch", MUSICAL_PITCH},
- {"meter", METER},
+ {"musicalpitch", MUSICAL_PITCH},
+ {"time", TIME_T},
{"midi", MIDI},
{"mm", MM_T},
{"multi", MULTI},
{"spandynamic", SPANDYNAMIC},
{"symboltables", SYMBOLTABLES},
{"tempo", TEMPO},
- {"texid", TEXID},
- {"textstyle", TEXTSTYLE},
+ {"translator", TRANSLATOR},
+ {"type", TYPE},
{"transpose", TRANSPOSE},
{"version", VERSION},
- {"grouping", GROUPING},
{0,0}
};
Identifier *old = lookup_identifier (name_str);
if (old)
{
+#if 0
if (unique_b)
- old->warning(_("redeclaration of \\") + name_str);
+ old->warning(_f ("redeclaration of `\\%s\'", name_str));
+#endif
delete old;
}
(*scope_l_arr_.top ())[name_str] = i;
{
delete keytable_p_;
delete toplevel_scope_p_ ;
-
-
delete note_tab_p_;
}
{
for (int i=scope_l_arr_.size (); i--; )
{
- DOUT << "Scope no. " << i << "\n";
+ DOUT << "Scope no. " << i << '\n';
scope_l_arr_[i]->print ();
}
}
{
if (include_stack_.empty())
{
- *mlog << _("error at EOF") << s << '\n';
+ *mlog << _f ("error at EOF: %s", s) << endl;
}
else
{