[sv-ec] PROPOSAL for ERR-62 (BNF)


Subject: [sv-ec] PROPOSAL for ERR-62 (BNF)
From: Brad Pierce (Brad.Pierce@synopsys.com)
Date: Tue Dec 09 2003 - 10:36:04 PST


Attached is a proposal for SV-EC ERR-62, which was transferred
from SV-BC 134. Its issue was the shallow copy in the example
of section 11.11 --
 
                  p2 = new p1 ;
 
which is not generated by the existing BNF. The proposal would
enable the following derivation --

  non_port_module_item
  ...
  variable_declaration
  data_type list_of_variable_decl_assignments ;
  class_scope_type_identifier variable_decl_assignment ;
  class_identifier class_variable_identifier = class_new ;
  Packet p2 = new expression ;
    ...
  Packet p2 = new p1 ;

The proposal also adds BNF for the class constructor ('new')
class methods of 11.7.

-- Brad




This archive was generated by hypermail 2b28 : Tue Dec 09 2003 - 10:40:07 PST