[sv-bc] Optional parenthesis on task_prototype etc

From: Wilson Snyder <wsnyder@wsnyder.org>
Date: Fri Feb 19 2010 - 04:03:13 PST

Based on existing code in the OVA:

  extern virtual function string convert2string;

I believe the following in appendix A:

  task_prototype ::=
        TASK task_identifier '(' [ tf_port_list ] ')'
  function_prototype ::=
        FUNCTION data_type_or_void function_identifier '(' [ tf_port_list ] ')'
  class_constructor_prototype ::=
        FUNCTION NEW '(' [ tf_port_list ] ')' ';'

should be:

  task_prototype ::=
        TASK task_identifier [ '(' [ tf_port_list ] ')' ]
  function_prototype ::=
        FUNCTION data_type_or_void function_identifier [ '(' [ tf_port_list ] ')' ]
  class_constructor_prototype ::=
        FUNCTION NEW [ '(' [ tf_port_list ] ')' ] ';'

IE the parenthesis should be optional to match how non-prototypes can
already be declared.

Thanks

-Wilson

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Feb 19 04:03:25 2010

This archive was generated by hypermail 2.1.8 : Fri Feb 19 2010 - 04:03:40 PST