diff --git a/src/format.c b/src/format.c index 33a8208..0ffd8b0 100644 --- a/src/format.c +++ b/src/format.c @@ -69,23 +69,23 @@ freeTokenizer(utf8iterator* iter) { utf8FreeIterator(iter); } -inline int +int greekChar(uint32_t ch) { return (((0x370 <= ch) && (ch <= 0x3ff)) || ((0x1f00 <= ch) && (ch <= 0x1fff))); } -inline int +int extendedPunctuation(uint32_t ch) { return ((0x2000 <= ch) && (ch <= 0x206f)); } -inline int +int latinChar(uint32_t ch) { return (ch <= 0xff) || extendedPunctuation(ch); } -inline int +int httpAt(Tokenizer tokenizer) { return ((tolower(tokenizer->txt[tokenizer->byteIndex]) == 'h') && (tolower(tokenizer->txt[tokenizer->byteIndex + 1]) == 't') &&