From 95176e81845f1274c70c4707887ed1a9298accfd Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 16 Dec 2014 12:58:44 -0800 Subject: scanners.re: use cmark_chunk rather than chunk. --- src/scanners.c | 10 +++++----- src/scanners.re | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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 #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; -- cgit v1.2.3