summaryrefslogtreecommitdiff
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
commit5b75db8d4710eccc9b6370e0675409567ad55e37 (patch)
tree0982f9157c29cd766104e8d497bdadf40e88688e /gas/input-file.c
parentae3d3288007de73e69ed65156625601e3d299704 (diff)
downloadbinutils-redhat-5b75db8d4710eccc9b6370e0675409567ad55e37.tar.gz
* 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 798f327d0f..5c23f31eac 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);