Changeset 681 in dev for trunk/ab5.0/abdev/abdev/DrawBuffer.cpp
- Timestamp:
- Jul 12, 2008, 9:23:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/DrawBuffer.cpp
r655 r681 410 410 411 411 //複数行に渡るコメントを考慮 412 if(pBuf[i]=='/'&&pBuf[i+1]=='*'&&IsStr==0&&dwComment==0){ 412 if( memicmp( pBuf+i, ActiveBasic::IDE::Program::ablang->GetSyntax().commentMultiBegin.c_str(), ActiveBasic::IDE::Program::ablang->GetSyntax().commentMultiBegin.size() ) == 0 413 && IsStr == 0 414 && dwComment == 0 ) 415 { 416 // /* 413 417 dwComment=12; 414 418 bMultiLineComment=1; 415 419 } 416 if(pBuf[i]=='*'&&pBuf[i+1]=='/'&& 417 dwComment==10&&bMultiLineComment){ 420 if( memicmp( pBuf+i, ActiveBasic::IDE::Program::ablang->GetSyntax().commentMultiEnd.c_str(), ActiveBasic::IDE::Program::ablang->GetSyntax().commentMultiEnd.size() ) == 0 421 && dwComment == 10 422 && bMultiLineComment ) 423 { 424 // */ 418 425 dwComment=3; 419 426 } 420 427 421 428 //単行コメント 422 if(pBuf[i]=='\''&&dwComment==0&&IsStr==0){ 429 if( memicmp( pBuf+i, ActiveBasic::IDE::Program::ablang->GetSyntax().commentSingle.c_str(), ActiveBasic::IDE::Program::ablang->GetSyntax().commentSingle.size() ) == 0 430 && dwComment == 0 431 && IsStr == 0 ) 432 { 433 // ' 423 434 dwComment=10; 424 435 bMultiLineComment=0;
Note:
See TracChangeset
for help on using the changeset viewer.