Re: [sv-bc] new copy constructor not in grammar


Subject: Re: [sv-bc] new copy constructor not in grammar
From: Hermann.Ilmberger@infineon.com
Date: Fri Nov 21 2003 - 04:56:46 PST


Brad,
you are of course right - the example I sent in
> Packet p1;
> Packet p2;
> p2 = new p1;
is a blocking_assignment, not a variable_decl_assignment.
However, I do not see that this is covered by blocking_assignment
with the new non-terminal class_new either.
class_new ::= new [ ( list_of_arguments ) ]

Same problem with the example I really had in mind:
Packet p2 = new p1;
which is the variable_decl_assignment.

I might just be blind - please point me to the right production.
Thanks,
-Hermann

> -----Original Message-----
> From: Brad Pierce [mailto:Brad.Pierce@synopsys.com]
> Sent: Monday, November 17, 2003 6:18 PM
> To: Hermann.Ilmberger@infineon.com
> Cc: sv-bc@eda.org
> Subject: RE: [sv-bc] new copy constructor not in grammar
>
>
> Hermann,
>
> I think it is a blocking_assignment, not a variable_decl_assignment.
>
> -- Brad
>
>
> -----Original Message-----
> From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org]On Behalf Of
> Hermann.Ilmberger@infineon.com
> Sent: Monday, November 17, 2003 6:03 AM
> To: sv-bc@eda.org
> Subject: [sv-bc] new copy constructor not in grammar
>
>
> The last line in the example in 11.11
> Packet p1;
> Packet p2;
> p1 = new;
> p2 = new p1;
> is not covered by
> A.2.4
> variable_decl_assignment
>
> -Hermann
>



This archive was generated by hypermail 2b28 : Fri Nov 21 2003 - 04:57:54 PST