RE: [sv-ec] {}

From: <jonathan.bromley_at_.....>
Date: Tue Jul 28 2009 - 23:55:29 PDT
> I still don't understand the use of empty concatenations. We already
> allow zero replications as part of a non-empty concatenation.

I had forgotten about {0{...}}, which deals with the most
commonly encountered need when a group of bits disappears
because of the way parameter values line up.

However, I can imagine the contents of a concatenation
being constructed by a macro and that macro expanding
to null text in some situations.  So, like the zero
replication, it might be helpful to permit {} as part
of a non-empty concatenation.  For similar reasons it
might also be useful to permit zero-width part selects,
again only when used as part of a concatenation.  Is it
currently legal to do A[n+:0] ?

I don't feel strongly about any of this; the suggestion 
merely fell out of the other discussion.
-- 
Jonathan Bromley


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Jul 29 00:03:16 2009

This archive was generated by hypermail 2.1.8 : Wed Jul 29 2009 - 00:04:15 PDT