]> git.cworth.org Git - notmuch/commit
lib: factor out lastmod range handling from sexp parser.
authorDavid Bremner <david@tethera.net>
Sun, 14 Aug 2022 15:02:58 +0000 (12:02 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 3 Sep 2022 11:36:53 +0000 (08:36 -0300)
commit93c602a82fdbd03e0104ea922d073b2b1aa6b241
treefaa20061aff7cc01b643df2b4212d831f098d2e4
parent606d9b02e46498874f6c3b5af18467c870e8658b
lib: factor out lastmod range handling from sexp parser.

This will permit the re-use of the same logic in the infix query
parser. The location of the shared code in the infix side is for
consistency with the other shared parsing logic. It will make more
sense when a Xapian field processor is added for the lastmod prefix.
lib/Makefile.local
lib/database-private.h
lib/lastmod-fp.cc [new file with mode: 0644]
lib/parse-sexp.cc