From de42f98508736933619600c852713746aff1803b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 3 Mar 2005 17:22:12 +0000 Subject: [PATCH] Remove redundant code enclosed by #ifdef RELAX_PAREN_GROUPING....#endif. --- gas/ChangeLog | 3 +++ gas/expr.c | 7 +------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 9bcfa109e..249150735 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,8 @@ 2005-03-03 Nick Clifton + * 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. diff --git a/gas/expr.c b/gas/expr.c index 1f50eac47..fb29fddab 100644 --- a/gas/expr.c +++ b/gas/expr.c @@ -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 (); -- 2.11.4.GIT