From: fred Date: Tue, 17 Dec 1996 00:49:03 +0000 (+0000) Subject: lilypond-0.0.17 X-Git-Tag: release/1.5.59~6575 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e7a33209ccf9ac60113f037df90929af7fd914fe;p=lilypond.git lilypond-0.0.17 --- diff --git a/src/main.cc b/src/main.cc index 7ff09dfc34..c4b48ff238 100644 --- a/src/main.cc +++ b/src/main.cc @@ -29,6 +29,7 @@ help() void notice() { cout << + "\n" "LilyPond, a music typesetter.\n" "Copyright (C) 1996 by\n" " Han-Wen Nienhuys \n" @@ -77,11 +78,18 @@ main (int argc, char **argv) break; } } - char *arg = oparser.get_next_arg(); - - if (!arg) arg = ""; - parse_file(arg); - do_scores(); + int p=0; + char *arg ; + while ( (arg= oparser.get_next_arg()) ) { + parse_file(arg); + do_scores(); + p++; + } + if (!p) { + parse_file(""); + do_scores(); + } + exit (0); }