diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-29 22:15:09 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-29 22:16:11 -0800 |
commit | 86fda06897ccd4d610410f920923c6e1f3e2bf3d (patch) | |
tree | 980d5b11b914223de03e1688503d40f9b4acbbec /src/chunk.h | |
parent | d943eed9db668bb3399264d5c978e20882bc6098 (diff) |
Added cmark_ctype.h with locale-independent isspace, ispunct, etc.
Otherwise cmark's behavior varies unpredictably with the locale.
`is_punctuation` in utf8.h has also been adjusted so that everything
that counts all ASCII symbol characters count as punctuation, even
though some are not in P* character classes.
Diffstat (limited to 'src/chunk.h')
-rw-r--r-- | src/chunk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.h b/src/chunk.h index 0f48791..ba6c89e 100644 --- a/src/chunk.h +++ b/src/chunk.h @@ -2,9 +2,9 @@ #define CMARK_CHUNK_H #include <string.h> -#include <ctype.h> #include <stdlib.h> #include <assert.h> +#include "cmark_ctype.h" #include "buffer.h" typedef struct { |