Skip to content

Commit 289a0aa

Browse files
committed
Update scanners for new info string rules.
1 parent 74d46d8 commit 289a0aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/scanners.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11498,7 +11498,7 @@ bufsize_t _scan_open_code_fence(const unsigned char *p) {
1149811498
192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 144, 192,
1149911499
192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192,
1150011500
192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192,
11501-
96, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11501+
224, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1150211502
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1150311503
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1150411504
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

src/scanners.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ bufsize_t _scan_open_code_fence(const unsigned char *p)
275275
const unsigned char *start = p;
276276
/*!re2c
277277
[`]{3,} / [^`\r\n\x00]*[\r\n] { return (bufsize_t)(p - start); }
278-
[~]{3,} / [^~\r\n\x00]*[\r\n] { return (bufsize_t)(p - start); }
278+
[~]{3,} / [^\r\n\x00]*[\r\n] { return (bufsize_t)(p - start); }
279279
* { return 0; }
280280
*/
281281
}

0 commit comments

Comments
 (0)