Fix isqq #command

This commit is contained in:
Maijin 2019-01-20 20:14:38 +01:00 committed by GitHub
parent 1fcd0b909e
commit 2cc9343d08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -541,6 +541,9 @@ static int cmd_info(void *data, const char *input) {
if (input[1] == 'j' && input[2] == '.') {
mode = R_MODE_JSON;
RBININFO ("symbols", R_CORE_BIN_ACC_SYMBOLS, input + 2, (obj && obj->symbols)? r_list_length (obj->symbols): 0);
} else if (input[1] == 'q' && input[2] == 'q') {
mode = R_MODE_SIMPLEST;
RBININFO ("symbols", R_CORE_BIN_ACC_SYMBOLS, input + 1, (obj && obj->symbols)? r_list_length (obj->symbols): 0);
} else {
RBININFO ("symbols", R_CORE_BIN_ACC_SYMBOLS, input + 1, (obj && obj->symbols)? r_list_length (obj->symbols): 0);
}