소스 검색

Clean up.

Mark Sibly 9 년 전
부모
커밋
a790df5ac2
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      modules/monkey/native/bbdebug.cpp

+ 2 - 4
modules/monkey/native/bbdebug.cpp

@@ -82,11 +82,9 @@ namespace bbDB{
 		case 'e':currentContext->stopped=1;return;
 		case 'l':currentContext->stopped=-1;return;
 		case 'r':currentContext->stopped=-0x10000000;return;
-		case 'q':
-			printf( "Quitting!!!!!\n" );fflush( stdout );
-			exit( 0 );
+		case 'q':exit( 0 );
 		}
-		printf( "???? %s\n",buf );fflush( stdout );
+		printf( "Unrecognized debug cmd: %s\n",buf );fflush( stdout );
 		exit( -1 );
 	}