Skip to content

Commit

Permalink
ci(WIP): add debug dumps
Browse files Browse the repository at this point in the history
  • Loading branch information
ToruNiina committed Jun 15, 2024
1 parent 1c87d24 commit 4198d12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/toml11/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -464,13 +464,15 @@ parse_floating(location& loc, const context<TC>& ctx)
loc = first;
is_hex = true;

std::cerr << "parse_floating: hex: calling syntax.scan" << std::endl;
reg = syntax::hex_floating(spec).scan(loc);
if( ! reg.is_ok())
{
return err(make_syntax_error("toml::parse_floating: "
"invalid hex floating: float must be like: 0xABCp-3f",
syntax::floating(spec), loc));
}
std::cerr << "parse_floating: hex: calling as_string" << std::endl;
str = reg.as_string();
}
else
Expand Down

0 comments on commit 4198d12

Please sign in to comment.