File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 33OUTPUT_PATH = "single_include/jsonh_cpp_amalgamated.hpp"
44
55HEADER = "// JsonhCpp (JSON for Humans)
6- // Version: 4.10
6+ // Version: 4.11
77// Link: https://github.com/jsonh-org/JsonhCpp
88// License: MIT"
99
Original file line number Diff line number Diff line change 11// JsonhCpp (JSON for Humans)
2- // Version: 4.10
2+ // Version: 4.11
33// Link: https://github.com/jsonh-org/JsonhCpp
44// License: MIT
55
@@ -30792,6 +30792,11 @@ class jsonh_reader : utf8_reader {
3079230792 bool is_fraction = false;
3079330793 bool is_empty = true;
3079430794
30795+ // Leading zero (not base specifier)
30796+ if (!has_base_specifier && number_builder.size() >= 1 && number_builder.back() == '0') {
30797+ is_empty = false;
30798+ }
30799+
3079530800 while (true) {
3079630801 // Peek rune
3079730802 std::optional<std::string> next = peek();
You can’t perform that action at this time.
0 commit comments