scanners.re: use cmark_chunk rather than chunk.
This commit is contained in:
parent
6e25c889cf
commit
95176e8184
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user