/* Generated by re2c */
#line 1 "encodings/unicode_group_Pf_u_encoding_policy_ignore.re"
// re2c $INPUT -o $OUTPUT -u --encoding-policy ignore
#include <stdio.h>

#define YYCTYPE unsigned int
bool scan(const YYCTYPE * start, const YYCTYPE * const limit)
{
	__attribute__((unused)) const YYCTYPE * YYMARKER; // silence compiler warnings when YYMARKER is not used
#	define YYCURSOR start
Pf:
	
#line 14 "encodings/unicode_group_Pf_u_encoding_policy_ignore.c"
{
	YYCTYPE yych;
	yych = *YYCURSOR;
	if (yych <= 0x00002E03) {
		if (yych <= 0x0000201C) {
			if (yych <= 0x000000BB) {
				if (yych >= 0x000000BB) goto yy1;
			} else {
				if (yych == 0x00002019) goto yy1;
			}
		} else {
			if (yych <= 0x00002039) {
				if (yych <= 0x0000201D) goto yy1;
			} else {
				if (yych <= 0x0000203A) goto yy1;
				if (yych >= 0x00002E03) goto yy1;
			}
		}
	} else {
		if (yych <= 0x00002E0C) {
			if (yych <= 0x00002E05) {
				if (yych >= 0x00002E05) goto yy1;
			} else {
				if (yych == 0x00002E0A) goto yy1;
			}
		} else {
			if (yych <= 0x00002E1D) {
				if (yych <= 0x00002E0D) goto yy1;
				if (yych >= 0x00002E1D) goto yy1;
			} else {
				if (yych == 0x00002E21) goto yy1;
			}
		}
	}
	++YYCURSOR;
#line 14 "encodings/unicode_group_Pf_u_encoding_policy_ignore.re"
	{ return YYCURSOR == limit; }
#line 52 "encodings/unicode_group_Pf_u_encoding_policy_ignore.c"
yy1:
	++YYCURSOR;
#line 13 "encodings/unicode_group_Pf_u_encoding_policy_ignore.re"
	{ goto Pf; }
#line 57 "encodings/unicode_group_Pf_u_encoding_policy_ignore.c"
}
#line 15 "encodings/unicode_group_Pf_u_encoding_policy_ignore.re"

}
static const unsigned int chars_Pf [] = {0xbb,0xbb,  0x2019,0x2019,  0x201d,0x201d,  0x203a,0x203a,  0x2e03,0x2e03,  0x2e05,0x2e05,  0x2e0a,0x2e0a,  0x2e0d,0x2e0d,  0x2e1d,0x2e1d,  0x2e21,0x2e21,  0x0,0x0};
static unsigned int encode_utf32 (const unsigned int * ranges, unsigned int ranges_count, unsigned int * s)
{
	unsigned int * const s_start = s;
	for (unsigned int i = 0; i < ranges_count; i += 2)
		for (unsigned int j = ranges[i]; j <= ranges[i + 1]; ++j)
			*s++ = j;
	return s - s_start;
}

int main ()
{
	unsigned int * buffer_Pf = new unsigned int [11];
	YYCTYPE * s = (YYCTYPE *) buffer_Pf;
	unsigned int buffer_len = encode_utf32 (chars_Pf, sizeof (chars_Pf) / sizeof (unsigned int), buffer_Pf);
	/* convert 32-bit code units to YYCTYPE; reuse the same buffer */
	for (unsigned int i = 0; i < buffer_len; ++i) s[i] = buffer_Pf[i];
	if (!scan (s, s + buffer_len))
		printf("test 'Pf' failed\n");
	delete [] buffer_Pf;
	return 0;
}
