mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-26 06:10:06 +00:00
fix parsing order of toml::value
This commit is contained in:
parent
bdc7fbdf08
commit
bf7461f7b4
@ -587,14 +587,14 @@ struct parse_value
|
||||
{
|
||||
if(iter != is_string<charT>::invoke(iter))
|
||||
return result_type(parse_string<charT>::invoke(iter, end));
|
||||
else if(iter != is_datetime<charT>::invoke(iter))
|
||||
return result_type(parse_datetime<charT>::invoke(iter, end));
|
||||
else if(iter != is_float<charT>::invoke(iter))
|
||||
return result_type(parse_float<charT>::invoke(iter, end));
|
||||
else if(iter != is_integer<charT>::invoke(iter))
|
||||
return result_type(parse_integer<charT>::invoke(iter, end));
|
||||
else if(iter != is_boolean<charT>::invoke(iter))
|
||||
return result_type(parse_boolean<charT>::invoke(iter, end));
|
||||
else if(iter != is_datetime<charT>::invoke(iter))
|
||||
return result_type(parse_datetime<charT>::invoke(iter, end));
|
||||
else if(iter != is_array<charT>::invoke(iter))
|
||||
return result_type(parse_array<charT>::invoke(iter, end));
|
||||
else if(iter != is_inline_table<charT>::invoke(iter))
|
||||
|
Loading…
Reference in New Issue
Block a user