From 144a69f4ebd86cad41fe975659c88ded584b4277 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 23 Sep 2011 17:52:20 +0000 Subject: [PATCH] Comment out unused function. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39740 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/lyxfind.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index af27be2b91..75fa19e46e 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -565,6 +565,9 @@ string apply_escapes(string s, Escapes const & escape_map) return s; } +#if 0 +// This is not used any longer, but I do not know if we want to delete +// it, since it seems like maybe it might be needed again. /** Return the position of the closing brace matching the open one at s[pos], ** or s.size() if not found. **/ @@ -585,6 +588,7 @@ static size_t find_matching_brace(string const & s, size_t pos) } return s.size(); } +#endif /// Within \regexp{} apply get_lyx_unescapes() only (i.e., preserve regexp semantics of the string), /// while outside apply get_lyx_unescapes()+get_regexp_escapes(). -- 2.39.2