Changeset 745 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Exception.cpp
- Timestamp:
- Sep 10, 2008, 1:53:07 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Exception.cpp
r591 r745 196 196 // パラメータのクラス名 197 197 char paramName[VN_SIZE] = ""; 198 int paramNameDataTableOffset = 0;199 198 if( catchScope.GetParamType().IsObject() ) 200 199 { 201 200 lstrcpy( paramName, catchScope.GetParamType().GetClass().GetFullName().c_str() ); 202 201 } 203 if( compiler.IsUnicode() ) 204 { 205 paramNameDataTableOffset = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( paramName ) ); 206 } 207 else 208 { 209 paramNameDataTableOffset = compiler.GetObjectModule().dataTable.AddString( paramName ); 210 } 202 int paramNameDataTableOffset = compiler.AddStringToDataTable( paramName ); 211 203 *((LONG_PTR *)(buffer+pos)) = paramNameDataTableOffset; 212 204 pos += sizeof(LONG_PTR);
Note: See TracChangeset
for help on using the changeset viewer.