aboutsummaryrefslogtreecommitdiff
path: root/gas/macro.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-11-12 15:39:46 +0000
committerNick Clifton <nickc@redhat.com>1999-11-12 15:39:46 +0000
commit92fa3950ea7417ce05b63f48578119ece9735161 (patch)
tree2b2638d847984a715bb19e8c21994dc16003b30f /gas/macro.c
parent035349a40dd7d6fde2cb6176dcf229a09f9087b3 (diff)
downloadgdb-92fa3950ea7417ce05b63f48578119ece9735161.zip
gdb-92fa3950ea7417ce05b63f48578119ece9735161.tar.gz
gdb-92fa3950ea7417ce05b63f48578119ece9735161.tar.bz2
fix typo.
Diffstat (limited to 'gas/macro.c')
-rw-r--r--gas/macro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/macro.c b/gas/macro.c
index 1c33de3..7407f1d 100644
--- a/gas/macro.c
+++ b/gas/macro.c
@@ -246,7 +246,7 @@ buffer_and_nest (from, to, ptr, get_line)
if (ptr->ptr[i] == '.')
i++;
if (strncasecmp (ptr->ptr + i, from, from_len) == 0
- && (ptr->len == (i + from_len || ! isalnum (ptr->ptr[i + from_len]))))
+ && (ptr->len == (i + from_len) || ! isalnum (ptr->ptr[i + from_len])))
depth++;
if (strncasecmp (ptr->ptr + i, to, to_len) == 0
&& (ptr->len == (i + to_len) || ! isalnum (ptr->ptr[i + to_len])))