Changeset 76 in dev for BasicCompiler64/NumOpe.cpp
- Timestamp:
- Mar 21, 2007, 9:26:56 PM (19 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  BasicCompiler64/NumOpe.cpp (modified) (5 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      BasicCompiler64/NumOpe.cppr75 r76 2 2 #include "Opcode.h" 3 3 4 void NewStringObject(int reg, LPSTR lpszText){4 void NewStringObject(int reg, const char *str){ 5 5 /////////////////////////////////////////////////////// 6 6 // lpszTextを元にStringオブジェクトを生成し、 … … 14 14 ////////////////////////////////////////////////////// 15 15 16 char *parameter = (char *)malloc( lstrlen( lpszText) + 32 );17 sprintf( parameter, "\"%s\"%c%c*Char", lpszText, 1, ESC_AS );16 char *parameter = (char *)malloc( lstrlen( str ) + 32 ); 17 sprintf( parameter, "\"%s\"%c%c*Char", str, 1, ESC_AS ); 18 18 SetStringQuotes( parameter ); 19 19 … … 226 226 i3=lstrlen(term); 227 227 StrLiteral: 228 228 229 229 if( baseType.IsObject() ){ 230 230 if( baseType.IsStringObject() ){ … … 290 290 i4=GetStringInPare_RemovePare(temp2,term+i2+1); 291 291 292 int idProc;293 292 void *pInfo; 294 i dProc=GetProc(temporary,(void **)&pInfo);293 int idProc=GetProc(temporary,(void **)&pInfo); 295 294 296 295 Type resultType; … … 550 549 } 551 550 } 552 553 551 554 552 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
