mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Merge branch 'refs/heads/testnet' into accelerator
This commit is contained in:
commit
f91ed6cc31
18 changed files with 336 additions and 129 deletions
|
@ -814,11 +814,16 @@ void usage(const char* progname) {
|
|||
void parse_include_path_set(std::string include_path_set, std::vector<std::string>& res) {
|
||||
td::Parser parser(include_path_set);
|
||||
while (!parser.empty()) {
|
||||
auto path = parser.read_till_nofail(':');
|
||||
#if TD_WINDOWS
|
||||
auto path_separator = '@';
|
||||
#else
|
||||
auto path_separator = ':';
|
||||
#endif
|
||||
auto path = parser.read_till_nofail(path_separator);
|
||||
if (!path.empty()) {
|
||||
res.push_back(path.str());
|
||||
}
|
||||
parser.skip_nofail(':');
|
||||
parser.skip_nofail(path_separator);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue