* src/misc/bareword.hh, src/misc/bareword.cc (quote_unless_bare_word):

New function.
This commit is contained in:
Alexandre Duret-Lutz 2004-10-22 16:06:55 +00:00
parent 38f7cac8dd
commit d9b29a0590
3 changed files with 18 additions and 0 deletions

View file

@ -19,7 +19,11 @@
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
#include <string>
namespace spot
{
bool is_bare_word(const char* str);
std::string quote_unless_bare_word(const std::string& str);
}