From e7a33209ccf9ac60113f037df90929af7fd914fe Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 17 Dec 1996 00:49:03 +0000 Subject: [PATCH] lilypond-0.0.17 --- src/main.cc | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) 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); } -- 2.39.5