[sv-bc] Re: [sv-ec] Pattern matching in if statements

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Mon Oct 16 2006 - 10:08:47 PDT
The attached proposal for issue 1332 was approved unanimously in the
9/21/06 P1800 WG Meeting.

-- Brad

-----Original Message-----
From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of
Moumita Das
Sent: Monday, October 16, 2006 2:50 AM
To: Bresticker, Shalom
Cc: sv-ec@eda.org; sv-bc@eda.org
Subject: Re: [sv-ec] Pattern matching in if statements

Hello,
Sorry for the typo.

Actual Example is-

if (e matches (tagged Jmp .j),
j matches (tagged JmpC '{cc:.c,addr:.a})) ... // c and a can be used
here else

Which does not match with BNF. 
So my query is by which rule this is  derived.

Thanks .
Moumita



Bresticker, Shalom wrote:

>I don't see that example. I see the following:
>
>if (e matches (tagged Jmp .j),
>j matches (tagged JmpC '{cc:.c,addr:.a})) ... // c and a can be used 
>here else
>
>That is, no * characters.
>
>Shalom
>
>
>  
>
>>But in  Sec -10.4.1.2  of same LRM I have found an example -
>>if     ( e matches (tagged Jmp .j)* ,*   j matches (tagged JmpC
>>'{cc:.c,addr:.a}) )
>>...
>>else
>>    
>>
>
>
>  
>


Received on Mon Oct 16 10:09:12 2006

This archive was generated by hypermail 2.1.8 : Mon Oct 16 2006 - 10:09:28 PDT