From d89615deadcad09c7ea66c017af5ebeeb9fca6db Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Wed, 9 Jun 2004 12:58:38 +0000 Subject: whitespace --- mixutils/mixvm.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'mixutils/mixvm.c') diff --git a/mixutils/mixvm.c b/mixutils/mixvm.c index f4a5b99..90d33d7 100644 --- a/mixutils/mixvm.c +++ b/mixutils/mixvm.c @@ -1,24 +1,24 @@ /* -*-c-*- -------------- mixvm.c : * Main function for mixvm, the mix vm simulator * ------------------------------------------------------------------ - * $Id: mixvm.c,v 1.8 2002/04/08 00:31:06 jao Exp $ + * $Id: mixvm.c,v 1.9 2004/06/09 12:58:38 jao Exp $ * ------------------------------------------------------------------ - * Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. - * + * Copyright (C) 2000, 2001, 2002, 2004 Free Software Foundation, Inc. + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * + * */ @@ -65,7 +65,7 @@ static struct option long_options_[] = {0, 0, 0, 0} }; -static const gchar *USAGE_ = +static const gchar *USAGE_ = N_("Usage: %s [-vhurdqt] [--version] [--help] [--noinit] [--usage]" "\n\t[--run] [--dump] [--time] [MIX_FILE]\n"); @@ -80,7 +80,7 @@ main (int argc, char **argv) gboolean emacs = FALSE; gboolean initfile = TRUE; gboolean ptime = FALSE; - + setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); @@ -88,11 +88,11 @@ main (int argc, char **argv) while (1) { c = getopt_long (argc, argv, options_, long_options_, (int*)0); - + /* Detect the end of the options. */ if (c == -1) break; - + switch (c) { case HELP_OPT: case USAGE_OPT: @@ -125,26 +125,26 @@ main (int argc, char **argv) g_assert_not_reached (); } } - + if ( optind < argc-1 ) { fprintf (stderr, _("*** Error: Too many input files.\n")); return EXIT_FAILURE; } - - if (!in) in = argv[optind]; - + + if (!in) in = argv[optind]; + mix_init_lib (); - - if (run) mix_vmrun(in, dump, ptime); + + if (run) mix_vmrun (in, dump, ptime); else mix_vmloop (argc, argv, initfile, in, emacs); mix_release_lib (); - + return EXIT_SUCCESS; - + } - + -- cgit v1.2.3