aboutsummaryrefslogtreecommitdiff
path: root/gas
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
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')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/gasp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 34bd170..a096957 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+Fri May 19 16:37:39 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
+
+ * gasp.c (istrue): Correctly test for string inequality.
+
Thu May 18 04:25:11 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
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 */