* src/misc/bareword.hh, src/misc/bareword.cc (quote_unless_bare_word):
New function.
This commit is contained in:
parent
38f7cac8dd
commit
d9b29a0590
3 changed files with 18 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue