[Xapian-commits] 7824: trunk/xapian-core/ trunk/xapian-core/queryparser/ trunk/xapian-core/tests/

olly xapian-commits at lists.xapian.org
Thu Mar 1 22:54:32 GMT 2007


SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       7824
Date:           2007-03-01 22:54:27 +0000 (Thu, 01 Mar 2007)

Log message (7 lines):
queryparser/queryparser.lemony: Add casts to U_isupper(), etc to
suppress warnings from aCC.
queryparser/queryparser.lemony: Use U_isdigit() instead of
C_isdigit(), etc - the truncation to a char can cause false
positives.
tests/queryparsertest.cc: Add a (rather contrived) regression test
for the above change.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/queryparser/queryparser.lemony
U   trunk/xapian-core/tests/queryparsertest.cc

Links:
http://xapian.org/C?7824
http://xapian.org/C?7824?trunk/xapian-core/ChangeLog
http://xapian.org/C?7824?trunk/xapian-core/queryparser/queryparser.lemony
http://xapian.org/C?7824?trunk/xapian-core/tests/queryparsertest.cc



More information about the Xapian-commits mailing list