Subject: Re: [sv-bc] Question about replication in array literal
From: Paul Graham (pgraham@cadence.com)
Date: Wed Jan 14 2004 - 06:48:52 PST
Dave,
In your example:
> {2{3{a,{4{b,c}}}}} becomes
you have illegal syntax. Given that:
concatenation ::= '{' expression { , expression } '}'
multi_concatenation ::= '{' expression concatenation '}'
you can't have an expression begining with {2{3{ ... Are you planning
to change the syntax to be something like this:
multi_concatenation ::= '{' expression '{' expression '}' '}'
or
concatenation ::= '{' expression { , expression } '}'
| multi_concatenation
multi_concatenation ::= '{' expression concatenation '}'
Paul
This archive was generated by hypermail 2b28 : Wed Jan 14 2004 - 06:52:40 PST