Make tok_last_type return an enum token_type instead of int

This commit is contained in:
ridiculousfish
2013-09-30 13:57:36 -07:00
parent 6c70ed79ae
commit cbe615224d
7 changed files with 35 additions and 14 deletions

View File

@@ -1915,6 +1915,11 @@ void complete(const wcstring &cmd, std::vector<completion_t> &comps, completion_
end_loop=1;
break;
}
default:
{
break;
}
}
if (tok_get_pos(&tok) >= (long)pos)