Teaching expression() to treat some operations specially
Alan Modra
amodra@gmail.com
Mon Jul 11 23:37:00 GMT 2022
On Mon, Jul 11, 2022 at 05:28:35PM +0300, Dmitry Selyutin wrote:
> +void
> +md_operand (expressionS *exp)
> +{
> + if (!register_name (exp))
> + expression (exp);
> +}
>
You should not call expression like this without some syntactic
element being consumed. The following is more reasonable.
void
md_operand (expressionS *e)
{
(void) register_name (e);
}
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list