aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/src.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-02-12 23:18:26 +0000
committerJeff Law <law@gcc.gnu.org>1998-02-12 16:18:26 -0700
commit567f3d36034ac69ab042945ed545bcc398ebc93b (patch)
tree1eb478f06fc9a3bbfdb8e87eb73dde4310ba3b62 /gcc/f/src.c
parentc4e8876e9b153cbf6fd7b50b005b43d435163196 (diff)
downloadgcc-567f3d36034ac69ab042945ed545bcc398ebc93b.zip
gcc-567f3d36034ac69ab042945ed545bcc398ebc93b.tar.gz
gcc-567f3d36034ac69ab042945ed545bcc398ebc93b.tar.bz2
com.c (type_for_mode): Add explicit braces to avoid ambiguous `else'.
* com.c (type_for_mode): Add explicit braces to avoid ambiguous `else'. * expr.c (ffeexpr_type_combine): Likewise. (ffeexpr_reduce_): Likewise. (ffeexpr_declare_parenthesized_): Likewise. * src.c (ffesrc_strcmp_1ns2i): Likewise. (ffesrc_strcmp_2c): Likewise. (ffesrc_strncmp_2c): Likewise. * stb.c (ffestb_halt1_): Likewise. (ffestb_R90910_): Likewise. (ffestb_R9109_): Likewise. * stc.c (ffestc_R544_equiv_): Likewise. * std.c (ffestd_subr_copy_easy_): Likewise. (ffestd_R1001dump_): Likewise. (ffestd_R1001dump_1005_1_): Likewise. (ffestd_R1001dump_1005_2_): Likewise. (ffestd_R1001dump_1005_3_): Likewise. (ffestd_R1001dump_1005_4_): Likewise. (ffestd_R1001dump_1005_5_): Likewise. (ffestd_R1001dump_1010_2_): Likewise. * ste.c (ffeste_R840): Likewise. * sts.c (ffests_puttext): Likewise. * symbol.c (ffesymbol_check_token_): Likewise. * target.c (ffetarget_real1): Likewise. (ffetarget_real2): Likewise. From-SVN: r17884
Diffstat (limited to 'gcc/f/src.c')
-rw-r--r--gcc/f/src.c50
1 files changed, 30 insertions, 20 deletions
diff --git a/gcc/f/src.c b/gcc/f/src.c
index 095c048..fe39961 100644
--- a/gcc/f/src.c
+++ b/gcc/f/src.c
@@ -234,10 +234,12 @@ ffesrc_strcmp_1ns2i (ffeCase mcase, const char *var, int len,
c = ffesrc_toupper (c); /* Upcase source. */
d = ffesrc_toupper (*str_ic); /* Upcase InitialCaps char. */
if (c != d)
- if ((d != '\0') && (c < d))
- return -1;
- else
- return 1;
+ {
+ if ((d != '\0') && (c < d))
+ return -1;
+ else
+ return 1;
+ }
}
break;
@@ -247,10 +249,12 @@ ffesrc_strcmp_1ns2i (ffeCase mcase, const char *var, int len,
c = ffesrc_char_source (*var); /* Transform source. */
d = ffesrc_toupper (*str_ic); /* Transform InitialCaps char. */
if (c != d)
- if ((d != '\0') && (c < d))
- return -1;
- else
- return 1;
+ {
+ if ((d != '\0') && (c < d))
+ return -1;
+ else
+ return 1;
+ }
}
break;
@@ -260,10 +264,12 @@ ffesrc_strcmp_1ns2i (ffeCase mcase, const char *var, int len,
c = ffesrc_char_source (*var); /* Transform source. */
d = ffesrc_tolower (*str_ic); /* Transform InitialCaps char. */
if (c != d)
- if ((d != '\0') && (c < d))
- return -1;
- else
- return 1;
+ {
+ if ((d != '\0') && (c < d))
+ return -1;
+ else
+ return 1;
+ }
}
break;
@@ -320,10 +326,12 @@ ffesrc_strcmp_2c (ffeCase mcase, const char *var, const char *str_uc,
{
c = ffesrc_toupper (*var); /* Upcase source. */
if (c != *str_uc)
- if ((*str_uc != '\0') && (c < *str_uc))
- return -1;
- else
- return 1;
+ {
+ if ((*str_uc != '\0') && (c < *str_uc))
+ return -1;
+ else
+ return 1;
+ }
}
if (*str_uc == '\0')
return 0;
@@ -388,10 +396,12 @@ ffesrc_strncmp_2c (ffeCase mcase, const char *var, const char *str_uc,
{
c = ffesrc_toupper (*var); /* Upcase source. */
if (c != *str_uc)
- if (c < *str_uc)
- return -1;
- else
- return 1;
+ {
+ if (c < *str_uc)
+ return -1;
+ else
+ return 1;
+ }
}
return 0;