aboutsummaryrefslogtreecommitdiff
path: root/gas/gasp.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-05-19 18:43:49 +0000
committerKen Raeburn <raeburn@cygnus>1995-05-19 18:43:49 +0000
commit078d1a5afa60040887118f869dbe49b9bb929b46 (patch)
tree4362849aade9df70c521b28c8e00347c672f7dfe /gas/gasp.c
parenta5298c2aa246496203af774a211f60267e95f582 (diff)
downloadgdb-078d1a5afa60040887118f869dbe49b9bb929b46.zip
gdb-078d1a5afa60040887118f869dbe49b9bb929b46.tar.gz
gdb-078d1a5afa60040887118f869dbe49b9bb929b46.tar.bz2
From Richard Earnshaw (rearnsha@armltd.co.uk):
* gasp.c (istrue): Correctly test for string inequality.
Diffstat (limited to 'gas/gasp.c')
-rw-r--r--gas/gasp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/gasp.c b/gas/gasp.c
index 3d120a4..661c247 100644
--- a/gas/gasp.c
+++ b/gas/gasp.c
@@ -2330,7 +2330,7 @@ istrue (idx, in)
res = 0;
}
else
- res = cond == EQ && same;
+ res = (cond != EQ) ^ same;
}
else
/* This is a numeric expression */