Hi Manisha, If you look at the BNF of #928 (and the original BNF for that matter), property_instance ::= ps_property_identifier [ ( [ list_of_arguments property_list_of_arguments] ) ] sequence_instance ::= ps_sequence_identifier [ ( [ list_of_arguments sequence_list_of_arguments] ) ] it appears to me that the () are optional. Of course, it could be written this way for the case of a property/sequence that does not have any arguments at all, but that was not my interpretation. I think they should be optional like void functions, etc. Lisa ________________________________ From: owner-sv-ac@eda-stds.org [mailto:owner-sv-ac@eda-stds.org] On Behalf Of Kulshrestha, Manisha Sent: Friday, July 28, 2006 7:22 PM To: sv-ac@eda-stds.org Subject: [sv-ac] #1532 Hi, As we were discussing in the meeting if the tasks or functions require empty '()' in all cases or not. Here is what LRM says about it: 12.4.5 Optional argument list When a void function or class function method specifies no arguments, the empty parenthesis, (), following the subroutine name shall be optional. This is also true for tasks, void functions, and class methods that require arguments, when all arguments have defaults specified. It shall be illegal to omit the parenthesis in a directly recursive nonvoid function method call that is not hierarchically qualified. It is hard to draw a direct conclusion about sequences/properties. Should they be treated like void functions and therefore empty parenthesis be optional ? ManishaReceived on Fri Jul 28 17:12:07 2006
This archive was generated by hypermail 2.1.8 : Fri Jul 28 2006 - 17:12:23 PDT