CL without arguments is an alias for 'CL $$'

This commit is contained in:
pancake 2014-12-11 19:27:51 +01:00
parent fa4df53077
commit d47b488a0f

View File

@ -158,7 +158,6 @@ static int cmd_meta_lineinfo(RCore *core, const char *input) {
} else {
sdb_foreach (core->bin->cur->sdb_addrinfo, print_addrinfo, NULL);
}
return 0;
}
@ -167,8 +166,10 @@ static int cmd_meta_lineinfo(RCore *core, const char *input) {
}
if (*p) {
ret = sscanf(p, "0x%"PFMT64x, &offset);
if (ret != 1) {
offset = r_num_math (core->num, p);
if (!offset)
offset = core->offset;
} else offset = core->offset;
colon = strchr (p, ':');
if (colon) {
space = strchr (p, ' ');
@ -218,8 +219,6 @@ static int cmd_meta_lineinfo(RCore *core, const char *input) {
return 0;
}
offset = core->offset;
}
}
if (offset != UT64_MAX) {
if (remove) {