diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-11-14 22:19:50 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-11-15 20:40:40 +0300 |
commit | 2667fad8bf6e7ef6ef1894ab49a3bdc5cc858607 (patch) | |
tree | f3f6650da4c3a4b3b8a5c06343c82646be84507f /mod/types-parsers.cxx | |
parent | d622f34a8c6ad0e71618f75a02787589b21d795c (diff) |
Add support for repository location compound schemes (git+https, etc)
Diffstat (limited to 'mod/types-parsers.cxx')
-rw-r--r-- | mod/types-parsers.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/types-parsers.cxx b/mod/types-parsers.cxx index e40a777..1467bf6 100644 --- a/mod/types-parsers.cxx +++ b/mod/types-parsers.cxx @@ -51,10 +51,10 @@ namespace brep parse_path (x, s); } - // Parse repository_url. + // Parse repository_location. // - void parser<repository_url>:: - parse (repository_url& x, bool& xs, scanner& s) + void parser<repository_location>:: + parse (repository_location& x, bool& xs, scanner& s) { xs = true; @@ -67,7 +67,7 @@ namespace brep try { - x = repository_url (v); + x = repository_location (v); } catch (const invalid_argument&) { |