From 8612847a4ed10409ccdf37ebf07251f22fd76025 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 19 Sep 2005 21:30:55 +0000 Subject: Silently accept -g, just in case --- mixutils/mixasm.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mixutils/mixasm.c b/mixutils/mixasm.c index bee0342..bac3d13 100644 --- a/mixutils/mixasm.c +++ b/mixutils/mixasm.c @@ -1,7 +1,7 @@ /* -*-c-*- -------------- mixasm.c: * Main function of mixasm, the mix assembler * ------------------------------------------------------------------ - * $Id: mixasm.c,v 1.7 2005/09/19 20:18:18 jao Exp $ + * $Id: mixasm.c,v 1.8 2005/09/19 21:30:55 jao Exp $ * ------------------------------------------------------------------ * Copyright (C) 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. * @@ -74,7 +74,8 @@ main (int argc, char **argv) while (1) { - c = getopt_long (argc, argv, "vhuo:lO", long_options_, (int*)0); + /* -g option is still available, but is no longer used */ + c = getopt_long (argc, argv, "vhuo:lOg", long_options_, (int*)0); /* Detect the end of the options. */ if (c == -1) @@ -98,6 +99,9 @@ main (int argc, char **argv) case NDEBUG_OPT: debug = FALSE; break; + case 'g': + /* used to be the switch to create debug version, not needed anymore */ + break; case '?': /* getopt already handles the output of a warning message */ fprintf (stderr, _("(Try: %s -h)\n"), prog_name); -- cgit v1.2.3