summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-04 15:40:37 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-04 15:40:37 -0700
commit289a0aae38f501a46e7403ba02dcadd915ae3a67 (patch)
treed00f64da29b74015a110e70aa04c23f09abb7eb9 /src
parent74d46d8b243d59358a806357cfba706abfa72aa1 (diff)
Update scanners for new info string rules.
Diffstat (limited to 'src')
-rw-r--r--src/scanners.c2
-rw-r--r--src/scanners.re2
2 files changed, 2 insertions, 2 deletions
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; }
*/
}