Comment out unused function.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39740 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-09-23 17:52:20 +00:00
parent ca31c55029
commit 144a69f4eb

View File

@ -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().