14 byval sym
as FBSYMBOL
ptr _
17 dim as FBSYMBOL
ptr cnt =
any, label =
any, this_ =
any, subtype =
any
18 dim as ASTNODE
ptr tree = NULL
20 subtype = symbGetSubtype( sym )
24 this_ =
symbAddTempVar( typeAddrOf( symbGetType( sym ) ), subtype )
47 if( (symbGetAttrib( sym )
and (FB_SYMBATTRIB_STATIC
or _
48 FB_SYMBATTRIB_SHARED
or _
49 FB_SYMBATTRIB_COMMON
or _
50 FB_SYMBATTRIB_DYNAMIC)) <> 0 )
then
57 if( symbGetDontInit( sym ) )
then
64 if( (symbGetAttrib( sym )
and FB_SYMBATTRIB_FUNCRESULT) <> 0 )
then
69 if( (symbGetArrayDimensions( sym ) = 0)
or _
70 (symbGetArrayElements( sym ) = 1) )
then
82 astNewCONSTi( symbGetLen( sym ) * symbGetArrayElements( sym ) ) )
87 byval sym
as FBSYMBOL
ptr, _
88 byval do_defaultinit
as integer _
91 dim as ASTNODE
ptr n =
any
94 n =
astNewNode( AST_NODECLASS_DECL, FB_DATATYPE_INVALID )
97 if( do_defaultinit )
then
105 if( ast.doemit )
then
107 if( symbIsLocal( n->sym ) )
then
113 if( n->l <> NULL )
then