move is_horizontal_blank to unicode.hh

This commit is contained in:
Maxime Coste 2013-11-17 22:54:26 +00:00
parent 2b9b161d42
commit 7f4d906774
2 changed files with 5 additions and 5 deletions

View File

@ -76,11 +76,6 @@ bool is_command_separator(char c)
return c == ';' or c == '\n';
}
bool is_horizontal_blank(char c)
{
return c == ' ' or c == '\t';
}
struct unterminated_string : parse_error
{
unterminated_string(const String& open, const String& close, int nest = 0)

View File

@ -24,6 +24,11 @@ inline bool is_blank(Codepoint c)
return c == ' ' or c == '\t';
}
inline bool is_horizontal_blank(Codepoint c)
{
return c == ' ' or c == '\t';
}
}
#endif // unicode_hh_INCLUDED