summaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1997-05-06 22:59:57 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1997-05-06 22:59:57 +0000
commit37808e3a06df2a78362bff6389cc0b2e2812f490 (patch)
tree9ed16f1465684c89cd2e6d3969753dc718b25ad2 /gcc/cpplib.c
parente54293e1b439fdc08b51ca5f04bd25d6ae9ba17c (diff)
downloadgcc-37808e3a06df2a78362bff6389cc0b2e2812f490.tar.gz
reformat a little to match GNU coding standards.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14023 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c22
1 files changed, 10 insertions, 12 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 697cea8f71f..10dc2fc1d09 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -1542,8 +1542,8 @@ create_definition (buf, limit, pfile, predefinition)
while (is_idchar[*bp]) {
bp++;
/* do we have a "special" rest-args extension here? */
- if (limit - bp > REST_EXTENSION_LENGTH &&
- strncmp (rest_extension, bp, REST_EXTENSION_LENGTH) == 0) {
+ if (limit - bp > REST_EXTENSION_LENGTH
+ && strncmp (rest_extension, bp, REST_EXTENSION_LENGTH) == 0) {
rest_args = 1;
temp->rest_args = 1;
break;
@@ -1570,8 +1570,8 @@ create_definition (buf, limit, pfile, predefinition)
struct arglist *otemp;
for (otemp = temp->next; otemp != NULL; otemp = otemp->next)
- if (temp->length == otemp->length &&
- strncmp (temp->name, otemp->name, temp->length) == 0) {
+ if (temp->length == otemp->length
+ && strncmp (temp->name, otemp->name, temp->length) == 0) {
U_CHAR *name;
name = (U_CHAR *) alloca (temp->length + 1);
@@ -3798,11 +3798,10 @@ do_line (pfile, keyword)
}
}
- hash_bucket =
- &fname_table[hashf (fname, fname_length, FNAME_HASHSIZE)];
+ hash_bucket = &fname_table[hashf (fname, fname_length, FNAME_HASHSIZE)];
for (hp = *hash_bucket; hp != NULL; hp = hp->next)
- if (hp->length == fname_length &&
- strncmp (hp->value.cpval, fname, fname_length) == 0) {
+ if (hp->length == fname_length
+ && strncmp (hp->value.cpval, fname, fname_length) == 0) {
ip->nominal_fname = hp->value.cpval;
break;
}
@@ -6430,10 +6429,9 @@ cpp_handle_options (pfile, argc, argv)
#if 0
else if (!strcmp (argv[i], "-pcp")) {
char *pcp_fname = argv[++i];
- pcp_outfile =
- ((pcp_fname[0] != '-' || pcp_fname[1] != '\0')
- ? fopen (pcp_fname, "w")
- : fdopen (dup (fileno (stdout)), "w"));
+ pcp_outfile = ((pcp_fname[0] != '-' || pcp_fname[1] != '\0')
+ ? fopen (pcp_fname, "w")
+ : fdopen (dup (fileno (stdout)), "w"));
if (pcp_outfile == 0)
cpp_pfatal_with_name (pfile, pcp_fname);
no_precomp = 1;