Re: [sv-bc] In-line variable initialization

From: Steven Sharp <sharp_at_.....>
Date: Tue Apr 18 2006 - 12:17:44 PDT
The text appears to be in 6.4 and 6.6, and then there is the BNF.

I believe that if you want to declare a static variable with an
initializer in a block, you have to use an explicit "static" qualifier,
even if you are not in a block where they would default to being
automatic.  This is intended to remind you that as a static variable,
it will only be initialized once at the start, not whenever the
block is entered.  Otherwise the visual appearance might be misleading.


Steven Sharp
sharp@cadence.com
Received on Tue Apr 18 12:17:49 2006

This archive was generated by hypermail 2.1.8 : Tue Apr 18 2006 - 12:18:03 PDT