|
1 | | -/* auto-generated on 2024-08-24 20:20:43 -0400. Do not edit! */ |
| 1 | +/* auto-generated on 2024-09-02 20:07:32 -0400. Do not edit! */ |
2 | 2 | /* begin file src/ada.cpp */ |
3 | 3 | #include "ada.h" |
4 | 4 | /* begin file src/checkers.cpp */ |
@@ -11553,21 +11553,21 @@ ada_really_inline bool url::parse_scheme(const std::string_view input) { |
11553 | 11553 | // If url's scheme is not a special scheme and buffer is a special scheme, |
11554 | 11554 | // then return. |
11555 | 11555 | if (is_special() != is_input_special) { |
11556 | | - return true; |
| 11556 | + return false; |
11557 | 11557 | } |
11558 | 11558 |
|
11559 | 11559 | // If url includes credentials or has a non-null port, and buffer is |
11560 | 11560 | // "file", then return. |
11561 | 11561 | if ((has_credentials() || port.has_value()) && |
11562 | 11562 | parsed_type == ada::scheme::type::FILE) { |
11563 | | - return true; |
| 11563 | + return false; |
11564 | 11564 | } |
11565 | 11565 |
|
11566 | 11566 | // If url's scheme is "file" and its host is an empty host, then return. |
11567 | 11567 | // An empty host is the empty string. |
11568 | 11568 | if (type == ada::scheme::type::FILE && host.has_value() && |
11569 | 11569 | host.value().empty()) { |
11570 | | - return true; |
| 11570 | + return false; |
11571 | 11571 | } |
11572 | 11572 | } |
11573 | 11573 |
|
@@ -13215,21 +13215,21 @@ template <bool has_state_override> |
13215 | 13215 | // If url's scheme is not a special scheme and buffer is a special scheme, |
13216 | 13216 | // then return. |
13217 | 13217 | if (is_special() != is_input_special) { |
13218 | | - return true; |
| 13218 | + return false; |
13219 | 13219 | } |
13220 | 13220 |
|
13221 | 13221 | // If url includes credentials or has a non-null port, and buffer is |
13222 | 13222 | // "file", then return. |
13223 | 13223 | if ((has_credentials() || components.port != url_components::omitted) && |
13224 | 13224 | parsed_type == ada::scheme::type::FILE) { |
13225 | | - return true; |
| 13225 | + return false; |
13226 | 13226 | } |
13227 | 13227 |
|
13228 | 13228 | // If url's scheme is "file" and its host is an empty host, then return. |
13229 | 13229 | // An empty host is the empty string. |
13230 | 13230 | if (type == ada::scheme::type::FILE && |
13231 | 13231 | components.host_start == components.host_end) { |
13232 | | - return true; |
| 13232 | + return false; |
13233 | 13233 | } |
13234 | 13234 | } |
13235 | 13235 |
|
|
0 commit comments