diff options
author | Nick Clifton <nickc@redhat.com> | 2005-03-03 17:22:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-03-03 17:22:12 +0000 |
commit | fbacee5b438e57d41abf87ba13167ea03697ab80 (patch) | |
tree | 8e7df47f716370c7bdfd48aceb8b0542a343fab3 | |
parent | 3c1a78a44bc61a8991c3b4fe7e5ce6ad1844bbf2 (diff) | |
download | fsf-binutils-gdb-fbacee5b438e57d41abf87ba13167ea03697ab80.zip fsf-binutils-gdb-fbacee5b438e57d41abf87ba13167ea03697ab80.tar.gz fsf-binutils-gdb-fbacee5b438e57d41abf87ba13167ea03697ab80.tar.bz2 |
Remove redundant code enclosed by #ifdef RELAX_PAREN_GROUPING....#endif.
-rw-r--r-- | gas/ChangeLog | 3 | ||||
-rw-r--r-- | gas/expr.c | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 9bcfa10..2491507 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. @@ -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 (); |