https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285726

--- Comment #2 from Tavian Barnes <[email protected]> ---
> A sysV style modifier can be mistaken for any of bmake's other modifiers,
> a possible tweak to address this has collateral fallout - needs to be 
> assessed.

True, I see that ${@:M%=b%} treats `%=b%` as a pattern rather than doing the
substitution.

That's a pretty gnarly ambiguity.  At least the :t ones could look ahead for an
`=` or something, but something like this looks impossible to me:

    ${@:S/%.c=O/%/g}

Is that

    S / %.c=O / % /g

or

    S/%.c = O/%/g

?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to