Don't warn about ALT use with non-VIRTKEY.
authorNick Clifton <nickc@redhat.com>
Wed, 14 Aug 2002 10:44:54 +0000 (10:44 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 14 Aug 2002 10:44:54 +0000 (10:44 +0000)
binutils/ChangeLog
binutils/rcparse.y

index 5c75299..4ea6de3 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-14  Luke Dunstan  <infidel@users.sourceforge.net>
+
+       * rcparse.y (acc_entry): Don't warn about ALT use with
+       non-VIRTKEY.
+
 2002-08-13  H.J. Lu <hjl@gnu.org>
 
        * objcopy.c (copy_object): Don't warn about the unsupported
index 898e99f..1f10da7 100644 (file)
@@ -219,7 +219,7 @@ acc_entry:
            $$.id = $2;
            $$.flags |= $4;
            if (($$.flags & ACC_VIRTKEY) == 0
-               && ($$.flags & (ACC_SHIFT | ACC_CONTROL | ACC_ALT)) != 0)
+               && ($$.flags & (ACC_SHIFT | ACC_CONTROL)) != 0)
              rcparse_warning (_("inappropriate modifiers for non-VIRTKEY"));
          }
        ;