move is_horizontal_blank to unicode.hh
This commit is contained in:
parent
2b9b161d42
commit
7f4d906774
|
@ -76,11 +76,6 @@ bool is_command_separator(char c)
|
||||||
return c == ';' or c == '\n';
|
return c == ';' or c == '\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
bool is_horizontal_blank(char c)
|
|
||||||
{
|
|
||||||
return c == ' ' or c == '\t';
|
|
||||||
}
|
|
||||||
|
|
||||||
struct unterminated_string : parse_error
|
struct unterminated_string : parse_error
|
||||||
{
|
{
|
||||||
unterminated_string(const String& open, const String& close, int nest = 0)
|
unterminated_string(const String& open, const String& close, int nest = 0)
|
||||||
|
|
|
@ -24,6 +24,11 @@ inline bool is_blank(Codepoint c)
|
||||||
return c == ' ' or c == '\t';
|
return c == ' ' or c == '\t';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline bool is_horizontal_blank(Codepoint c)
|
||||||
|
{
|
||||||
|
return c == ' ' or c == '\t';
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // unicode_hh_INCLUDED
|
#endif // unicode_hh_INCLUDED
|
||||||
|
|
Loading…
Reference in New Issue
Block a user