gas: simplify ignore_input()
authorJan Beulich <jbeulich@suse.com>
Wed, 18 May 2022 07:36:00 +0000 (09:36 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 May 2022 07:36:00 +0000 (09:36 +0200)
commit2e55c34282273f69099bf90bc6d2f38959545e10
tree3e09030de3af9b63e2f43c6c975b9e04ea83401a
parent818432e841552c2271861200e39ef1f877751ecc
gas: simplify ignore_input()

First of all convert to switch(), in preparation of adding another
directive here which may not be ignored. While doing so drop dead code:
A string the first two characters of which do not match "if" also wont
match "ifdef" or "ifndef".
gas/cond.c