hide trim() from the public interface

* src/misc/escape.cc, src/misc/escape.hh (trim): Move...
* src/priv/trim.cc, src/priv/trim.hh: ... in these new files.
* src/priv/Makefile.am: Add them.
* src/parseaut/scanaut.ll, src/parsetl/scantl.ll: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2015-11-11 11:33:15 +01:00
parent 86abd6c1c0
commit d14f0998e0
7 changed files with 74 additions and 25 deletions

View file

@ -62,10 +62,6 @@ namespace spot
SPOT_API std::string
escape_str(const std::string& str);
/// \brief Remove spaces at the front and back of \a str.
SPOT_API void
trim(std::string& str);
/// \brief Output \a str between simple quote or double quotes
///
/// Simple quotes are preferred unless \a str contains some simple