瀏覽代碼

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 );
 	}