aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-03-03 17:22:12 +0000
committerNick Clifton <nickc@redhat.com>2005-03-03 17:22:12 +0000
commitfbacee5b438e57d41abf87ba13167ea03697ab80 (patch)
tree8e7df47f716370c7bdfd48aceb8b0542a343fab3 /gas/expr.c
parent3c1a78a44bc61a8991c3b4fe7e5ce6ad1844bbf2 (diff)
downloadgdb-fbacee5b438e57d41abf87ba13167ea03697ab80.zip
gdb-fbacee5b438e57d41abf87ba13167ea03697ab80.tar.gz
gdb-fbacee5b438e57d41abf87ba13167ea03697ab80.tar.bz2
Remove redundant code enclosed by #ifdef RELAX_PAREN_GROUPING....#endif.
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 1f50eac..fb29fdd 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 ();