From 289a0aae38f501a46e7403ba02dcadd915ae3a67 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 4 Oct 2018 15:40:37 -0700 Subject: Update scanners for new info string rules. --- src/scanners.c | 2 +- src/scanners.re | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/scanners.c b/src/scanners.c index 9661902..3ee0cfa 100644 --- a/src/scanners.c +++ b/src/scanners.c @@ -11498,7 +11498,7 @@ bufsize_t _scan_open_code_fence(const unsigned char *p) { 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 144, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, - 96, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 224, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, diff --git a/src/scanners.re b/src/scanners.re index 4667804..457efaf 100644 --- a/src/scanners.re +++ b/src/scanners.re @@ -275,7 +275,7 @@ bufsize_t _scan_open_code_fence(const unsigned char *p) const unsigned char *start = p; /*!re2c [`]{3,} / [^`\r\n\x00]*[\r\n] { return (bufsize_t)(p - start); } - [~]{3,} / [^~\r\n\x00]*[\r\n] { return (bufsize_t)(p - start); } + [~]{3,} / [^\r\n\x00]*[\r\n] { return (bufsize_t)(p - start); } * { return 0; } */ } -- cgit v1.2.3