>From: "danielm" <danielm@aldec.com.pl> >SV allows to declare module member as static but doesn't define behaviour of >such static member. Maybe this static keyword is just redundant Yes, it is. Variables at the module level are already static. >(in this case this possibility should be removed from LRM) It does not appear to do any harm. In some cases, someone might want to explicitly declare something to be static. For example, they might want to make clear that a task/function declaration is static. If the module is declared to be automatic, the static keyword is actually needed to make a task/function static. It is also possible that someone might define a macro that declares a static variable, using the static keyword in case it is used in a context where it would otherwise be automatic. If they want to be able to use that macro at the module level, the redundant static keyword needs to be allowed. Steven Sharp sharp@cadence.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Mon Dec 17 18:46:40 2007
This archive was generated by hypermail 2.1.8 : Mon Dec 17 2007 - 18:46:53 PST