Changeset 591 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Exception.cpp
- Timestamp:
- May 10, 2008, 6:11:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Exception.cpp
r587 r591 201 201 lstrcpy( paramName, catchScope.GetParamType().GetClass().GetFullName().c_str() ); 202 202 } 203 paramNameDataTableOffset = compiler.GetObjectModule().dataTable.AddString( paramName ); 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 } 204 211 *((LONG_PTR *)(buffer+pos)) = paramNameDataTableOffset; 205 212 pos += sizeof(LONG_PTR);
Note:
See TracChangeset
for help on using the changeset viewer.