diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-16 12:58:44 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-16 12:58:44 -0800 |
commit | 95176e81845f1274c70c4707887ed1a9298accfd (patch) | |
tree | dfa7d85a7ef0dfc2f8a542e0560e13984e9a31a1 /src | |
parent | 6e25c889cf33a6217a9b4cf37ea1a6361883901b (diff) |
scanners.re: use cmark_chunk rather than chunk.
Diffstat (limited to 'src')
-rw-r--r-- | src/scanners.c | 10 | ||||
-rw-r--r-- | src/scanners.re | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/scanners.c b/src/scanners.c index e5c4ef1..8e5a391 100644 --- a/src/scanners.c +++ b/src/scanners.c @@ -1,4 +1,4 @@ -/* Generated by re2c 0.13.6 */ +/* Generated by re2c 0.13.5 */ #include <stdlib.h> #include "chunk.h" #include "scanners.h" @@ -10506,7 +10506,7 @@ yy1114: yy1115: p = marker; if (yyaccept <= 1) { - if (yyaccept == 0) { + if (yyaccept <= 0) { goto yy1103; } else { goto yy1110; @@ -10890,13 +10890,13 @@ yy1147: yy1148: p = marker; if (yyaccept <= 1) { - if (yyaccept == 0) { + if (yyaccept <= 0) { goto yy1141; } else { goto yy1152; } } else { - if (yyaccept == 2) { + if (yyaccept <= 2) { goto yy1159; } else { goto yy1166; @@ -11670,7 +11670,7 @@ yy1275: } yy1276: p = marker; - if (yyaccept == 0) { + if (yyaccept <= 0) { goto yy1271; } else { goto yy1283; diff --git a/src/scanners.re b/src/scanners.re index 5e74873..cf53dc5 100644 --- a/src/scanners.re +++ b/src/scanners.re @@ -2,7 +2,7 @@ #include "chunk.h" #include "scanners.h" -int _scan_at(int (*scanner)(const unsigned char *), chunk *c, int offset) +int _scan_at(int (*scanner)(const unsigned char *), cmark_chunk *c, int offset) { int res; unsigned char *ptr = (unsigned char *)c->data; |