Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85446 - trunk/libs/log/src
From: andrey.semashev_at_[hidden]
Date: 2013-08-24 10:22:43


Author: andysem
Date: 2013-08-24 10:22:43 EDT (Sat, 24 Aug 2013)
New Revision: 85446
URL: http://svn.boost.org/trac/boost/changeset/85446

Log:
Fixed attribute presence filter parsing.

Text files modified:
   trunk/libs/log/src/filter_parser.cpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/libs/log/src/filter_parser.cpp
==============================================================================
--- trunk/libs/log/src/filter_parser.cpp Sat Aug 24 07:02:18 2013 (r85445)
+++ trunk/libs/log/src/filter_parser.cpp 2013-08-24 10:22:43 EDT (Sat, 24 Aug 2013) (r85446)
@@ -252,6 +252,8 @@
                 // If the filter has negation operator, do not expect a relation (i.e. "!%attr% > 1" is not valid because "!%attr%" is interpreted as an attribute presence test)
                 if (!negation_present)
                     p = parse_relation(p, end);
+ else
+ on_relation_complete();
             }
             else if (c == constants::char_exclamation || scan_keyword(p, end, next, constants::not_keyword()))
             {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk