Remove redundant code enclosed by #ifdef RELAX_PAREN_GROUPING....#endif.
authorNick Clifton <nickc@redhat.com>
Thu, 3 Mar 2005 17:22:12 +0000 (17:22 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 3 Mar 2005 17:22:12 +0000 (17:22 +0000)
gas/ChangeLog
gas/expr.c

index 9bcfa109e4bb0877b197aebc5127f97105ed9b2d..249150735094addbdac97f0ac1b0ab2d317fa73d 100644 (file)
@@ -1,5 +1,8 @@
 2005-03-03  Nick Clifton  <nickc@redhat.com>
 
+       * expr.c (operand): Remove redundant code enclosed by #ifdef
+       RELAX_PAREN_GROUPING....#endif.
+
        * config/tc-mn10200.c (tc_gen_reloc): Handle the case where the
        reloc is the difference of two symbols defined in the same
        section.
index 1f50eac475a2b9712da05fb8fc0805cfd85f1042..fb29fddabe6ac42f375010f9fb15c44c43a7b8de 100644 (file)
@@ -977,12 +977,7 @@ operand (expressionS *expressionP)
       /* expression () will pass trailing whitespace.  */
       if ((c == '(' && *input_line_pointer != ')')
          || (c == '[' && *input_line_pointer != ']'))
-       {
-#ifdef RELAX_PAREN_GROUPING
-         if (c != '(')
-#endif
-           as_bad (_("missing '%c'"), c == '(' ? ')' : ']');
-       }
+       as_bad (_("missing '%c'"), c == '(' ? ')' : ']');
       else
        input_line_pointer++;
       SKIP_WHITESPACE ();
This page took 0.03594 seconds and 4 git commands to generate.