diff options
author | John MacFarlane <[email protected]> | 2015-12-22 22:55:39 -0800 |
---|---|---|
committer | John MacFarlane <[email protected]> | 2015-12-22 22:55:39 -0800 |
commit | 4811dc3ec2330f015444ac6f5ee4f8cbf3563808 (patch) | |
tree | 05ba17dcc8b7c3c6f4e6fa274c4f22aaf6cee708 /src/scanners.h | |
parent | de6c5fb2c45dfa2791074f7d99a27b23b2106dfc (diff) |
Rename hrule -> thematic_break.
CMARK_NODE_HRULE -> CMARK_NODE_THEMATIC_BREAK.
However we've defined the former as the latter to keep
backwards compatibility.
See jgm/CommonMark 8fa94cb460f5e516b0e57adca33f50a669d51f6c
Diffstat (limited to 'src/scanners.h')
-rw-r--r-- | src/scanners.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scanners.h b/src/scanners.h index 735aa5d..c2c03eb 100644 --- a/src/scanners.h +++ b/src/scanners.h @@ -23,7 +23,7 @@ bufsize_t _scan_link_title(const unsigned char *p); bufsize_t _scan_spacechars(const unsigned char *p); bufsize_t _scan_atx_heading_start(const unsigned char *p); bufsize_t _scan_setext_heading_line(const unsigned char *p); -bufsize_t _scan_hrule(const unsigned char *p); +bufsize_t _scan_thematic_break(const unsigned char *p); bufsize_t _scan_open_code_fence(const unsigned char *p); bufsize_t _scan_close_code_fence(const unsigned char *p); bufsize_t _scan_entity(const unsigned char *p); @@ -45,7 +45,7 @@ bufsize_t _scan_dangerous_url(const unsigned char *p); #define scan_spacechars(c, n) _scan_at(&_scan_spacechars, c, n) #define scan_atx_heading_start(c, n) _scan_at(&_scan_atx_heading_start, c, n) #define scan_setext_heading_line(c, n) _scan_at(&_scan_setext_heading_line, c, n) -#define scan_hrule(c, n) _scan_at(&_scan_hrule, c, n) +#define scan_thematic_break(c, n) _scan_at(&_scan_thematic_break, c, n) #define scan_open_code_fence(c, n) _scan_at(&_scan_open_code_fence, c, n) #define scan_close_code_fence(c, n) _scan_at(&_scan_close_code_fence, c, n) #define scan_entity(c, n) _scan_at(&_scan_entity, c, n) |