2
0
mirror of https://github.com/boostorg/log.git synced 2026-02-18 02:02:14 +00:00

Merged recent changes from trunk.

[SVN r86297]
This commit is contained in:
Andrey Semashev
2013-10-14 11:05:12 +00:00
parent d3419b1091
commit 2ce146a1bc
5 changed files with 38 additions and 7 deletions

View File

@@ -161,13 +161,10 @@ sinks::file::rotation_at_time_point param_cast_to_rotation_time_point(const char
value.begin(), value.end(),
(
-(
(
// First check for a weekday
weekday_p[boost::log::as_action(boost::log::bind_assign(weekday))] |
// ... or a day in month
day_p[boost::log::as_action(boost::log::bind_assign(day))]
) >>
(+encoding_specific::space)
// First check for a weekday
(weekday_p >> qi::omit[ +encoding_specific::space ])[boost::log::as_action(boost::log::bind_assign(weekday))] |
// ... or a day in month
(day_p >> qi::omit[ +encoding_specific::space ])[boost::log::as_action(boost::log::bind_assign(day))]
) >>
// Then goes the time of day
(