[sv-ac] match item

From: Bustan, Doron <doron.bustan_at_.....>
Date: Sun Oct 26 2008 - 20:42:33 PDT
All,

 

I am looking at 16.7 and there are some syntactic restrictions on the
use of match item that I do not understand.

If I understand correctly there are only two syntax productions that
allow adding match items:

 

| ( sequence_expr {, sequence_match_item } ) [ sequence_abbrev ]

| first_match ( sequence_expr {, sequence_match_item} )

 

So, one cannot write "(a ##1 b, v = 1)"  but can write "(a ##1 b, v = 1)
[*1]" which is semantically equivalent.

 

As far as I understand, we can always use the [*1] to do add the match
item, so there is no semantic meaning to the syntactic restrictions. 

 

Does anyone remember a reason for that? Or is it something we
overlooked?

 

Thanks

 

Doron

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Sun Oct 26 20:43:52 2008

This archive was generated by hypermail 2.1.8 : Sun Oct 26 2008 - 20:44:51 PDT