summaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-10-11 20:24:32 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-10-11 20:24:32 +0000
commit30a2b4ef8f28ad15ea6bfb17bdf54e164607d8db (patch)
tree0fdbca6ec40201ce02ba14d5149215753ededfb7 /gas/as.c
parentd01e2a23a35139d64687b473b93d7f39b54b9d56 (diff)
downloadbinutils-30a2b4ef8f28ad15ea6bfb17bdf54e164607d8db.tar.gz
binutils-30a2b4ef8f28ad15ea6bfb17bdf54e164607d8db.tar.bz2
binutils-30a2b4ef8f28ad15ea6bfb17bdf54e164607d8db.zip
2000-10-12 Kazu Hirata <kazu@hxi.com>
* app.c: Fix formatting. * as.c: Likewise. * as.h: Likewise. * bit_fix.h: Likewise. * cgen.c: Likewise. * cgen.h: Likewise. * cond.c: Likewise.
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c35
1 files changed, 16 insertions, 19 deletions
diff --git a/gas/as.c b/gas/as.c
index 2f78cad486a..425829e1910 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -91,8 +91,7 @@ int debug_memory = 0;
/* We build a list of defsyms as we read the options, and then define
them after we have initialized everything. */
-struct defsym_list
-{
+struct defsym_list {
struct defsym_list *next;
char *name;
valueT value;
@@ -102,8 +101,7 @@ static struct defsym_list *defsyms;
/* Keep a record of the itbl files we read in. */
-struct itbl_file_list
-{
+struct itbl_file_list {
struct itbl_file_list *next;
char *name;
};
@@ -350,24 +348,23 @@ parse_args (pargc, pargv)
char *shortopts;
extern CONST char *md_shortopts;
- static const char std_shortopts[] =
- {
- '-', 'J',
+ static const char std_shortopts[] = {
+ '-', 'J',
#ifndef WORKING_DOT_WORD
- /* -K is not meaningful if .word is not being hacked. */
- 'K',
+ /* -K is not meaningful if .word is not being hacked. */
+ 'K',
#endif
- 'L', 'M', 'R', 'W', 'Z', 'f', 'a', ':', ':', 'D', 'I', ':', 'o', ':',
+ 'L', 'M', 'R', 'W', 'Z', 'f', 'a', ':', ':', 'D', 'I', ':', 'o', ':',
#ifndef VMS
- /* -v takes an argument on VMS, so we don't make it a generic
- option. */
- 'v',
+ /* -v takes an argument on VMS, so we don't make it a generic
+ option. */
+ 'v',
#endif
- 'w', 'X',
- /* New option for extending instruction set (see also --itbl below) */
- 't', ':',
- '\0'
- };
+ 'w', 'X',
+ /* New option for extending instruction set (see also --itbl below) */
+ 't', ':',
+ '\0'
+ };
struct option *longopts;
extern struct option md_longopts[];
extern size_t md_longopts_size;
@@ -474,7 +471,7 @@ parse_args (pargc, pargv)
VMS code in md_parse_option can return 0 in that case,
but it has no way of pushing the filename argument back. */
if (optarg && *optarg)
- new_argv[new_argc++] = optarg, new_argv[new_argc] = NULL;
+ new_argv[new_argc++] = optarg, new_argv[new_argc] = NULL;
else
#else
case 'v':