/* Generated by re2c */
#line 1 "encodings/unicode_group_Pi_u.re"
// re2c $INPUT -o $OUTPUT -u
#include <stdint.h>
#include <stdio.h>
#define YYCTYPE uint32_t

bool scan(const YYCTYPE* start, const YYCTYPE* const limit) {
	__attribute__((unused)) const YYCTYPE* YYMARKER;
#define YYCURSOR start
Pi:

#line 14 "encodings/unicode_group_Pi_u.c"
{
	YYCTYPE yych;
	yych = *YYCURSOR;
	if (yych <= 0x00002E01) {
		if (yych <= 0x0000201A) {
			if (yych <= 0x000000AB) {
				if (yych >= 0x000000AB) goto yy1;
			} else {
				if (yych == 0x00002018) goto yy1;
			}
		} else {
			if (yych <= 0x0000201F) {
				if (yych <= 0x0000201C) goto yy1;
				if (yych >= 0x0000201F) goto yy1;
			} else {
				if (yych == 0x00002039) goto yy1;
			}
		}
	} else {
		if (yych <= 0x00002E0B) {
			if (yych <= 0x00002E04) {
				if (yych != 0x00002E03) goto yy1;
			} else {
				if (yych == 0x00002E09) goto yy1;
			}
		} else {
			if (yych <= 0x00002E1C) {
				if (yych <= 0x00002E0C) goto yy1;
				if (yych >= 0x00002E1C) goto yy1;
			} else {
				if (yych == 0x00002E20) goto yy1;
			}
		}
	}
	++YYCURSOR;
#line 14 "encodings/unicode_group_Pi_u.re"
	{ return YYCURSOR - 1 == limit; }
#line 52 "encodings/unicode_group_Pi_u.c"
yy1:
	++YYCURSOR;
#line 13 "encodings/unicode_group_Pi_u.re"
	{ goto Pi; }
#line 57 "encodings/unicode_group_Pi_u.c"
}
#line 15 "encodings/unicode_group_Pi_u.re"

}

static const uint32_t chars_Pi[] = {0xab,0xab,0x2018,0x2018,0x201b,0x201c,0x201f,0x201f,0x2039,0x2039,0x2e02,0x2e02,0x2e04,0x2e04,0x2e09,0x2e09,0x2e0c,0x2e0c,0x2e1c,0x2e1c,0x2e20,0x2e20,};

static uint32_t encode_utf32(const uint32_t* ranges, uint32_t ranges_count, uint32_t* s) {
	uint32_t* const s0 = s;
	for (uint32_t i = 0; i < ranges_count; i += 2)
		for (uint32_t j = ranges[i]; j <= ranges[i + 1]; ++j) *s++ = j;
	for (uint32_t i = 0; i < 1; ++i) s[i] = 0;
	return s - s0;
}

int main() {
	YYCTYPE* buffer_Pi = new YYCTYPE[13];
	uint32_t buffer_Pi_len = encode_utf32(chars_Pi, sizeof(chars_Pi) / sizeof(uint32_t), buffer_Pi);
	if (!scan(buffer_Pi, buffer_Pi + buffer_Pi_len)) printf("test 'Pi' failed\n");
	delete[] buffer_Pi;
	return 0;
}
