summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scanners.c10
-rw-r--r--src/scanners.re2
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;