16 byval id
as zstring ptr, _
17 byval id_alias
as zstring ptr, _
18 byval attrib
as integer _
21 dim as FBSYMBOL
ptr e =
any
24 if( id_alias = NULL )
then
26 if( parser.mangling <> FB_MANGLING_BASIC )
then
36 FB_DATATYPE_ENUM, NULL, attrib )
42 symbSymbTbInit( e->enum_.ns.symtb, e )
43 symbHashTbInit( e->enum_.ns.hashtb, e, FB_INITFIELDNODES )
46 e->enum_.ns.ext = NULL
49 e->enum_.dbg.typenum = INVALID
52 if( symb.fwdrefcnt > 0 )
then
62 byval parent as FBSYMBOL
ptr, _
63 byval id
as zstring ptr, _
64 byval intval
as longint, _
65 byval attrib
as integer _
68 dim as FBSYMBOL
ptr s =
any
75 parent->enum_.elements += 1
88 byval parent as FBSYMBOL
ptr _
91 dim as FBSYMBOL
ptr sym = symbGetEnumSymbTbHead(
parent )
94 do while( sym <> NULL )
95 if( symbIsConst( sym ) )
then
108 byval sym
as FBSYMBOL
ptr _
113 do while( sym <> NULL )
114 if( symbIsConst( sym ) )
then