[Prev][Next][Index]

Re: Problems with enums



Diego,
try the following fix:

in the file lib/include/unparseC++.def
replace the current definition for 

DEFNODECODE(ENUM_DECL ...
(this is around line 153 in our file)
with the following:

DEFNODECODE(ENUM_DECL,           
"%CMNT%PUTTAB%DECLSPEC%RIDPT%SETFLAG(ENUM)enum %SYMBID %IF (%BLOB1 !=  
%NULL){%INCTAB%NL  
%BLOB1%DECTAB%PUTTAB}%LL1;%NL%ELSE%LL1;%NL%ENDIF%UNSETFLAG(ENUM)",
'd',0,BIFNODE)

(the change consists of adding %RIDPT in the appropriate place)
Let me know if this works,
        --Beata