summaryrefslogtreecommitdiff
path: root/src/cmark_ctype.c
AgeCommit message (Collapse)Author
2020-08-24define whitespace per specAsherah Connor
2016-06-06Fix character type detection in commonmark.cNick Wellnhofer
- Implement cmark_isalpha. - Check for ASCII character before implicit cast to char. - Use internal ctype functions in commonmark.c. Fixes test failures on Windows and undefined behavior.
2015-11-03Fix non-ASCII end-of-line character checkandyuhnak
2015-07-27Use clang-format, llvm style, for formatting.John MacFarlane
* Reformatted all source files. * Added 'format' target to Makefile. * Removed 'astyle' target. * Updated .editorconfig.
2015-01-05Reformatted code consistently with astyle.John MacFarlane
2014-12-31Include guards and C linkage for cmark_ctype.hNick Wellnhofer
2014-12-29Attempted optimization of cmark_ctype.John MacFarlane
Use a single lookup table for all character types. I'm not sure this actually helps so much.
2014-12-29Added cmark_ prefix to functions in cmark_ctype.John MacFarlane
2014-12-29Added cmark_ctype.h with locale-independent isspace, ispunct, etc.John MacFarlane
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.