Eric Wong wrote:
> Now I wonder if there's a better way to accomplish this
> (perhaps in parse.y instead of compile.c).

Fixed in r48484, thanks nobu!