Don't warn about ALT use with non-VIRTKEY.

This commit is contained in:
Nick Clifton 2002-08-14 10:44:54 +00:00
parent 1fd03b5ab2
commit 85c09e8a4a
2 changed files with 6 additions and 1 deletions

View 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> 2002-08-13 H.J. Lu <hjl@gnu.org>
* objcopy.c (copy_object): Don't warn about the unsupported * objcopy.c (copy_object): Don't warn about the unsupported

View file

@ -219,7 +219,7 @@ acc_entry:
$$.id = $2; $$.id = $2;
$$.flags |= $4; $$.flags |= $4;
if (($$.flags & ACC_VIRTKEY) == 0 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")); rcparse_warning (_("inappropriate modifiers for non-VIRTKEY"));
} }
; ;