Changeset 371 in dev for trunk/abdev/BasicCompiler_Common
- Timestamp:
- Nov 15, 2007, 6:57:26 PM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/ver.h
r368 r371 6 6 // バージョン付加文字列 7 7 #ifdef _AMD64_ 8 #define VER_INFO "(x64) (rev.38 0)"8 #define VER_INFO "(x64) (rev.382)" 9 9 #else 10 #define VER_INFO "(rev.38 0)"10 #define VER_INFO "(rev.382)" 11 11 #endif -
trunk/abdev/BasicCompiler_Common/src/Exception.cpp
r366 r371 173 173 if( !isDefinedFinally ) 174 174 { 175 Finally();175 SetError(); 176 176 } 177 177 … … 284 284 tryScopes.back().Catch( paramType ); 285 285 286 int backCp = cp; 287 288 char temporary[1024]; 286 289 if( paramType.IsObject() ) 287 290 { 288 int backCp = cp;289 290 char temporary[1024];291 291 sprintf( temporary, "Dim %s = Thread.CurrentThread().__GetThrowintParamObject() As %s", varName, paramType.GetClass().GetFullName().c_str() ); 292 292 MakeMiddleCode( temporary ); 293 293 ChangeOpcode( temporary ); 294 lstrcpy( temporary, "Thread.CurrentThread().__Catched()" );295 MakeMiddleCode( temporary);296 ChangeOpcode( temporary );297 298 cp = backCp; 299 }294 } 295 lstrcpy( temporary, "Thread.CurrentThread().__Catched()" ); 296 MakeMiddleCode( temporary ); 297 ChangeOpcode( temporary ); 298 299 cp = backCp; 300 300 } 301 301 void FinallyCommand()
Note:
See TracChangeset
for help on using the changeset viewer.