quickbasename
(lmp->type == T_BASENAME && strcmp(quickbasename(n), lmp->p) == 0))
static const char *quickbasename(const char *);