Changeset 403 in dev for trunk/abdev/BasicCompiler_Common
- Timestamp:
- Feb 28, 2008, 9:45:31 PM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/VariableOpe.cpp
r402 r403 290 290 291 291 292 BOOL GetVarFormatString( char *buffer,char *array,char *array2,char *NestMember,ReferenceKind &refType){292 BOOL GetVarFormatString( char *buffer,char *array,char *array2,char *NestMember,ReferenceKind &refType, bool *pIsParameterInBracket ){ 293 293 extern int cp; 294 294 int i,i2,i3; … … 317 317 cPare_Close=')'; 318 318 } 319 320 if( pIsParameterInBracket ) 321 { 322 // []なのか、()なのかを伝える 323 if( cPare_Open == '[' ) 324 { 325 *pIsParameterInBracket = true; 326 } 327 else 328 { 329 *pIsParameterInBracket = false; 330 } 331 } 332 319 333 buffer[i]=0; 320 334 for(i++,i2=0;;i++,i2++){ -
trunk/abdev/BasicCompiler_Common/VariableOpe.h
r402 r403 16 16 Type GetStringTypeInfo(); 17 17 void GetWithName(char *buffer); 18 BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember, ReferenceKind &refType );18 BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember, ReferenceKind &refType, bool *pIsParameterInBracket = NULL ); 19 19 void GetArrayElement( const char *buffer,char *variable,char *array_element); 20 20 BOOL CheckVarNameError(char *name,int nowLine);
Note:
See TracChangeset
for help on using the changeset viewer.