Changeset 406 in dev for trunk/abdev/BasicCompiler_Common/src/Class.cpp
- Timestamp:
- Mar 2, 2008, 4:36:33 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Class.cpp
r402 r406 15 15 #include "../../BasicCompiler32/opcode.h" 16 16 #endif 17 18 #include <../Enum.h> 17 19 18 20 … … 1068 1070 } 1069 1071 1072 // コンパイル中クラスとしてセット 1073 compiler.pCompilingClass = &objClass; 1074 1075 const EnumInfo *pEnumInfo = NULL; 1076 if( objClass.IsEnum() ) 1077 { 1078 pEnumInfo = compiler.enumInfoCollection.Find( objClass ); 1079 } 1080 1070 1081 int i=0; 1071 BOOST_FOREACH( CMember *member, objClass.GetStaticMembers() ){ 1082 BOOST_FOREACH( CMember *member, objClass.GetStaticMembers() ) 1083 { 1084 if( pEnumInfo ) 1085 { 1086 cp = pEnumInfo->GetEnumMember( member->GetName() ).GetSourceIndex(); 1087 } 1088 1072 1089 char temporary[VN_SIZE]; 1073 1090 sprintf(temporary,"%s.%s",objClass.GetName().c_str(),member->GetName().c_str()); … … 1082 1099 i++; 1083 1100 } 1101 1102 compiler.pCompilingClass = NULL; 1084 1103 } 1085 1104
Note:
See TracChangeset
for help on using the changeset viewer.