};
void
-usage()
+usage ()
{
cout <<
_("Usage: lilypond [options] [mudela-files]\n"
}
void
-notice()
+notice ()
{
cout <<
_("\n"
parser.set_version_check (version_ignore_b);
parser.parse_file (init_str, file_str);
- if (file_str.length_i() && file_str[0] != '-')
+ if (file_str.length_i () && file_str[0] != '-')
{
String a,b,c,d;
split_path (file_str, a, b, c, d);
exit_status_i_ = 1;
}
else
- do_scores();
+ do_scores ();
clear_scores ();
}
source_global_l = 0;
void
identify ()
{
- cout << get_version_str() << endl;
+ cout << get_version_str () << endl;
}
int
main (int argc, char **argv)
{
identify ();
- debug_init(); // should be first
+ call_constructors ();
+ debug_init (); // should be first
// must override (come before) "/usr/local/share/lilypond"!
Getopt_long oparser (argc, argv,theopts);
String init_str ("lily-init.ly");
- while (Long_option_init const * opt = oparser())
+ while (Long_option_init const * opt = oparser ())
{
switch (opt->shortname)
{
default_outname_base_global = oparser.optional_argument_ch_C_;
break;
case 'w':
- notice();
+ notice ();
exit (0);
break;
case 'I':
init_str = oparser.optional_argument_ch_C_;
break;
case 'h':
- usage();
+ usage ();
exit (0);
break;
case 'V':
int p=0;
const char *arg ;
- while ((arg= oparser.get_next_arg()))
+ while ((arg= oparser.get_next_arg ()))
{
String f (arg);
destill_inname (f);
void
destill_inname (String &name_str_r)
{
- if (name_str_r.length_i())
+ if (name_str_r.length_i ())
{
if (name_str_r[ 0 ] != '-')
{