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

From: Moumita Das <moumita_at_.....>
Date: Mon Oct 16 2006 - 02:50:28 PDT
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 02:51:45 2006

This archive was generated by hypermail 2.1.8 : Mon Oct 16 2006 - 02:51:55 PDT