summaryrefslogtreecommitdiff
path: root/src/unicode.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-11-17 22:54:26 +0000
committerMaxime Coste <frrrwww@gmail.com>2013-11-17 23:06:40 +0000
commit7f4d906774163ed0f4d3438ec858a8dd06de2ea3 (patch)
tree2f4f004b1f4b4eba42777cf5d7c89b5857295e47 /src/unicode.hh
parent2b9b161d424c1168636042adc6678bb3df2be3f9 (diff)
move is_horizontal_blank to unicode.hh
Diffstat (limited to 'src/unicode.hh')
-rw-r--r--src/unicode.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/unicode.hh b/src/unicode.hh
index db2d1e88..ce7e9be2 100644
--- a/src/unicode.hh
+++ b/src/unicode.hh
@@ -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