[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
 

-----Non-member Submission-----
On Behalf Of Moumita Das
Sent: Monday, October 16, 2006 2:50 AM

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:08:52 2006

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