the parser is now fully Unicode compatible

This commit is contained in:
krasimir
2015-05-08 09:23:29 +00:00
parent 5b60c3a00e
commit e600eb764a
3 changed files with 79 additions and 86 deletions

View File

@@ -40,10 +40,4 @@ gu_utf8_encode(GuUCS ucs, uint8_t** buf);
void
gu_in_utf8_buf(uint8_t** buf, GuIn* in, GuExn* err);
static inline bool
gu_is_space(uint8_t c) {
return (c == '\t' || c == '\n' || c == '\v' ||
c == '\f' || c == '\r' || c == ' ');
}
#endif // GU_UTF8_H_