aarch64: Commonise index parsing
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 30 Mar 2023 10:09:05 +0000 (11:09 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 30 Mar 2023 10:09:05 +0000 (11:09 +0100)
commit61dac77e931e254a3caeb4d924999e11875308d0
treed051573f7dcb132be4523bb3629a17382ae7928a
parent9d862382668651a1bc44f6072c1ccc3c92ab906d
aarch64: Commonise index parsing

Just a minor clean-up to factor out the index parsing, partly to
ensure that the error handling remains consistent.  No behavioural
change intended.
gas/config/tc-aarch64.c