+2007-01-15 Stephane Corthesy <stephane@sente.ch>
+
+ * EOQualifierParser.m (_parseValue): fixed a bug in the qualifier
+ parser (v4.5.72)
+
2006-12-17 Marcus Mueller <znek@mulle-kybernetik.com>
* EOKeyValueCoding.m: fixed a runtime portability issue - removed
/*
- Copyright (C) 2000-2005 SKYRIX Software AG
+ Copyright (C) 2000-2007 SKYRIX Software AG
+ Copyright (C) 2007 Helge Hess
This file is part of SOPE.
if (rc != 0)
/* does not match */
continue;
- if (!(_buf[pos + toklen] == '\0' || isspace(_buf[pos + toklen])))
- /* not at the string end or folloed by a space */
+
+ if (!(_buf[pos + toklen] == '\0' || isspace(_buf[pos + toklen]) ||
+ _buf[pos + toklen] == ')')) {
+ /*
+ Not at the string end or followed by a space or a right
+ parenthesis. The latter is required to correctly parse this:
+ (not (attribute = nil) and
+ attribute.className = 'com.webobjects.foundation.NSTimestamp')
+ */
continue;
+ }
/* wow, found the token */
pos += toklen; /* skip it */