aboutsummaryrefslogtreecommitdiff
path: root/gas/input-file.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2002-05-18 12:53:30 +0000
committerKazu Hirata <kazu@codesourcery.com>2002-05-18 12:53:30 +0000
commit411863a44d47767443870273ecd7d6f51c84fcac (patch)
treee0a2a0acf3b5b283f88edffa57bcd17a0edc241d /gas/input-file.c
parentc3f4437ee19cc855172de9c4acc06cde3ab604be (diff)
downloadfsf-binutils-gdb-411863a44d47767443870273ecd7d6f51c84fcac.zip
fsf-binutils-gdb-411863a44d47767443870273ecd7d6f51c84fcac.tar.gz
fsf-binutils-gdb-411863a44d47767443870273ecd7d6f51c84fcac.tar.bz2
* app.c: Fix formatting.
* as.c: Likewise. * ehopt.c: Likewise. * expr.c: Likewise. * input-file.c: Likewise. * listing.c: Likewise. * macro.h: Likewise. * stabs.c: Likewise. * symbols.c: Likewise.
Diffstat (limited to 'gas/input-file.c')
-rw-r--r--gas/input-file.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/gas/input-file.c b/gas/input-file.c
index 798f327..5c23f31 100644
--- a/gas/input-file.c
+++ b/gas/input-file.c
@@ -157,29 +157,29 @@ input_file_open (filename, pre)
/* Begins with comment, may not want to preprocess. */
c = getc (f_in);
if (c == 'N')
- {
- fgets (buf, 80, f_in);
- if (!strncmp (buf, "O_APP", 5) && ISSPACE (buf[5]))
- preprocess = 0;
- if (!strchr (buf, '\n'))
- ungetc ('#', f_in); /* It was longer. */
- else
- ungetc ('\n', f_in);
- }
+ {
+ fgets (buf, 80, f_in);
+ if (!strncmp (buf, "O_APP", 5) && ISSPACE (buf[5]))
+ preprocess = 0;
+ if (!strchr (buf, '\n'))
+ ungetc ('#', f_in); /* It was longer. */
+ else
+ ungetc ('\n', f_in);
+ }
else if (c == 'A')
- {
- fgets (buf, 80, f_in);
- if (!strncmp (buf, "PP", 2) && ISSPACE (buf[2]))
- preprocess = 1;
- if (!strchr (buf, '\n'))
- ungetc ('#', f_in);
- else
- ungetc ('\n', f_in);
- }
+ {
+ fgets (buf, 80, f_in);
+ if (!strncmp (buf, "PP", 2) && ISSPACE (buf[2]))
+ preprocess = 1;
+ if (!strchr (buf, '\n'))
+ ungetc ('#', f_in);
+ else
+ ungetc ('\n', f_in);
+ }
else if (c == '\n')
- ungetc ('\n', f_in);
+ ungetc ('\n', f_in);
else
- ungetc ('#', f_in);
+ ungetc ('#', f_in);
}
else
ungetc (c, f_in);