mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
cleanup and fixes
This commit is contained in:
@@ -22,9 +22,8 @@ static SystemString canonRelPath(const SystemString& path)
|
||||
std::vector<SystemString> comps;
|
||||
HECL::SystemRegexMatch matches;
|
||||
SystemString in = path;
|
||||
while (std::regex_search(in, matches, regPATHCOMP))
|
||||
for (; std::regex_search(in, matches, regPATHCOMP) ; in = matches.suffix())
|
||||
{
|
||||
in = matches.suffix();
|
||||
const SystemString& match = matches[1];
|
||||
if (!match.compare(_S(".")))
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user