Changeset 372 in dev for trunk/abdev/BasicCompiler_Common/Compile.cpp
- Timestamp:
- Nov 23, 2007, 1:44:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/Compile.cpp
r359 r372 139 139 } 140 140 141 void Compile( const char *source ) 142 { 143 char *temporary = (char *)malloc( lstrlen( source ) + 8192 ); 144 lstrcpy( temporary, source ); 145 int backCp = cp; 146 MakeMiddleCode( temporary ); 147 ChangeOpcode( temporary ); 148 cp = backCp; 149 free( temporary ); 150 } 151 141 152 void ChangeOpcode(char *Command){ 142 153 extern HANDLE hHeap; … … 337 348 case COM_FOR: 338 349 OpcodeFor(Command+2); 350 break; 351 case COM_FOREACH: 352 OpcodeForeach(Command+2); 339 353 break; 340 354 case COM_DO:
Note:
See TracChangeset
for help on using the changeset viewer.