diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-22 22:55:39 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-22 22:55:39 -0800 |
commit | 4811dc3ec2330f015444ac6f5ee4f8cbf3563808 (patch) | |
tree | 05ba17dcc8b7c3c6f4e6fa274c4f22aaf6cee708 /src/scanners.re | |
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.re')
-rw-r--r-- | src/scanners.re | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scanners.re b/src/scanners.re index ef2016b..61026f6 100644 --- a/src/scanners.re +++ b/src/scanners.re @@ -270,10 +270,10 @@ bufsize_t _scan_setext_heading_line(const unsigned char *p) */ } -// Scan a horizontal rule line: "...three or more hyphens, asterisks, +// Scan a thematic break line: "...three or more hyphens, asterisks, // or underscores on a line by themselves. If you wish, you may use // spaces between the hyphens or asterisks." -bufsize_t _scan_hrule(const unsigned char *p) +bufsize_t _scan_thematic_break(const unsigned char *p) { const unsigned char *marker = NULL; const unsigned char *start = p; |