/* Generated by re2c */
#line 1 "encodings/unicode_group_Nd_u_encoding_policy_fail.re"
// re2c $INPUT -o $OUTPUT -u --encoding-policy fail
#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
Nd:
	
#line 14 "encodings/unicode_group_Nd_u_encoding_policy_fail.c"
{
	YYCTYPE yych;
	yych = *YYCURSOR;
	if (yych <= 0x0000A61F) {
		if (yych <= 0x00000E4F) {
			if (yych <= 0x00000A6F) {
				if (yych <= 0x000007BF) {
					if (yych <= 0x0000065F) {
						if (yych <= '/') goto yy1;
						if (yych <= '9') goto yy2;
					} else {
						if (yych <= 0x00000669) goto yy2;
						if (yych <= 0x000006EF) goto yy1;
						if (yych <= 0x000006F9) goto yy2;
					}
				} else {
					if (yych <= 0x0000096F) {
						if (yych <= 0x000007C9) goto yy2;
						if (yych >= 0x00000966) goto yy2;
					} else {
						if (yych <= 0x000009E5) goto yy1;
						if (yych <= 0x000009EF) goto yy2;
						if (yych >= 0x00000A66) goto yy2;
					}
				}
			} else {
				if (yych <= 0x00000C65) {
					if (yych <= 0x00000B65) {
						if (yych <= 0x00000AE5) goto yy1;
						if (yych <= 0x00000AEF) goto yy2;
					} else {
						if (yych <= 0x00000B6F) goto yy2;
						if (yych <= 0x00000BE5) goto yy1;
						if (yych <= 0x00000BEF) goto yy2;
					}
				} else {
					if (yych <= 0x00000D65) {
						if (yych <= 0x00000C6F) goto yy2;
						if (yych <= 0x00000CE5) goto yy1;
						if (yych <= 0x00000CEF) goto yy2;
					} else {
						if (yych <= 0x00000D6F) goto yy2;
						if (yych <= 0x00000DE5) goto yy1;
						if (yych <= 0x00000DEF) goto yy2;
					}
				}
			}
		} else {
			if (yych <= 0x0000194F) {
				if (yych <= 0x00001049) {
					if (yych <= 0x00000ED9) {
						if (yych <= 0x00000E59) goto yy2;
						if (yych >= 0x00000ED0) goto yy2;
					} else {
						if (yych <= 0x00000F1F) goto yy1;
						if (yych <= 0x00000F29) goto yy2;
						if (yych >= 0x00001040) goto yy2;
					}
				} else {
					if (yych <= 0x000017E9) {
						if (yych <= 0x0000108F) goto yy1;
						if (yych <= 0x00001099) goto yy2;
						if (yych >= 0x000017E0) goto yy2;
					} else {
						if (yych <= 0x0000180F) goto yy1;
						if (yych <= 0x00001819) goto yy2;
						if (yych >= 0x00001946) goto yy2;
					}
				}
			} else {
				if (yych <= 0x00001B4F) {
					if (yych <= 0x00001A7F) {
						if (yych <= 0x000019CF) goto yy1;
						if (yych <= 0x000019D9) goto yy2;
					} else {
						if (yych <= 0x00001A89) goto yy2;
						if (yych <= 0x00001A8F) goto yy1;
						if (yych <= 0x00001A99) goto yy2;
					}
				} else {
					if (yych <= 0x00001C3F) {
						if (yych <= 0x00001B59) goto yy2;
						if (yych <= 0x00001BAF) goto yy1;
						if (yych <= 0x00001BB9) goto yy2;
					} else {
						if (yych <= 0x00001C49) goto yy2;
						if (yych <= 0x00001C4F) goto yy1;
						if (yych <= 0x00001C59) goto yy2;
					}
				}
			}
		}
	} else {
		if (yych <= 0x0001144F) {
			if (yych <= 0x0000FF19) {
				if (yych <= 0x0000A9D9) {
					if (yych <= 0x0000A8D9) {
						if (yych <= 0x0000A629) goto yy2;
						if (yych >= 0x0000A8D0) goto yy2;
					} else {
						if (yych <= 0x0000A8FF) goto yy1;
						if (yych <= 0x0000A909) goto yy2;
						if (yych >= 0x0000A9D0) goto yy2;
					}
				} else {
					if (yych <= 0x0000AA59) {
						if (yych <= 0x0000A9EF) goto yy1;
						if (yych <= 0x0000A9F9) goto yy2;
						if (yych >= 0x0000AA50) goto yy2;
					} else {
						if (yych <= 0x0000ABEF) goto yy1;
						if (yych <= 0x0000ABF9) goto yy2;
						if (yych >= 0x0000FF10) goto yy2;
					}
				}
			} else {
				if (yych <= 0x000110EF) {
					if (yych <= 0x00010D2F) {
						if (yych <= 0x0001049F) goto yy1;
						if (yych <= 0x000104A9) goto yy2;
					} else {
						if (yych <= 0x00010D39) goto yy2;
						if (yych <= 0x00011065) goto yy1;
						if (yych <= 0x0001106F) goto yy2;
					}
				} else {
					if (yych <= 0x000111CF) {
						if (yych <= 0x000110F9) goto yy2;
						if (yych <= 0x00011135) goto yy1;
						if (yych <= 0x0001113F) goto yy2;
					} else {
						if (yych <= 0x000111D9) goto yy2;
						if (yych <= 0x000112EF) goto yy1;
						if (yych <= 0x000112F9) goto yy2;
					}
				}
			}
		} else {
			if (yych <= 0x00011D59) {
				if (yych <= 0x000116C9) {
					if (yych <= 0x000114D9) {
						if (yych <= 0x00011459) goto yy2;
						if (yych >= 0x000114D0) goto yy2;
					} else {
						if (yych <= 0x0001164F) goto yy1;
						if (yych <= 0x00011659) goto yy2;
						if (yych >= 0x000116C0) goto yy2;
					}
				} else {
					if (yych <= 0x000118E9) {
						if (yych <= 0x0001172F) goto yy1;
						if (yych <= 0x00011739) goto yy2;
						if (yych >= 0x000118E0) goto yy2;
					} else {
						if (yych <= 0x00011C4F) goto yy1;
						if (yych <= 0x00011C59) goto yy2;
						if (yych >= 0x00011D50) goto yy2;
					}
				}
			} else {
				if (yych <= 0x0001D7CD) {
					if (yych <= 0x00016A5F) {
						if (yych <= 0x00011D9F) goto yy1;
						if (yych <= 0x00011DA9) goto yy2;
					} else {
						if (yych <= 0x00016A69) goto yy2;
						if (yych <= 0x00016B4F) goto yy1;
						if (yych <= 0x00016B59) goto yy2;
					}
				} else {
					if (yych <= 0x0001E2EF) {
						if (yych <= 0x0001D7FF) goto yy2;
						if (yych <= 0x0001E13F) goto yy1;
						if (yych <= 0x0001E149) goto yy2;
					} else {
						if (yych <= 0x0001E2F9) goto yy2;
						if (yych <= 0x0001E94F) goto yy1;
						if (yych <= 0x0001E959) goto yy2;
					}
				}
			}
		}
	}
yy1:
	++YYCURSOR;
#line 14 "encodings/unicode_group_Nd_u_encoding_policy_fail.re"
	{ return YYCURSOR == limit; }
#line 202 "encodings/unicode_group_Nd_u_encoding_policy_fail.c"
yy2:
	++YYCURSOR;
#line 13 "encodings/unicode_group_Nd_u_encoding_policy_fail.re"
	{ goto Nd; }
#line 207 "encodings/unicode_group_Nd_u_encoding_policy_fail.c"
}
#line 15 "encodings/unicode_group_Nd_u_encoding_policy_fail.re"

}
static const unsigned int chars_Nd [] = {0x30,0x39,  0x660,0x669,  0x6f0,0x6f9,  0x7c0,0x7c9,  0x966,0x96f,  0x9e6,0x9ef,  0xa66,0xa6f,  0xae6,0xaef,  0xb66,0xb6f,  0xbe6,0xbef,  0xc66,0xc6f,  0xce6,0xcef,  0xd66,0xd6f,  0xde6,0xdef,  0xe50,0xe59,  0xed0,0xed9,  0xf20,0xf29,  0x1040,0x1049,  0x1090,0x1099,  0x17e0,0x17e9,  0x1810,0x1819,  0x1946,0x194f,  0x19d0,0x19d9,  0x1a80,0x1a89,  0x1a90,0x1a99,  0x1b50,0x1b59,  0x1bb0,0x1bb9,  0x1c40,0x1c49,  0x1c50,0x1c59,  0xa620,0xa629,  0xa8d0,0xa8d9,  0xa900,0xa909,  0xa9d0,0xa9d9,  0xa9f0,0xa9f9,  0xaa50,0xaa59,  0xabf0,0xabf9,  0xff10,0xff19,  0x104a0,0x104a9,  0x10d30,0x10d39,  0x11066,0x1106f,  0x110f0,0x110f9,  0x11136,0x1113f,  0x111d0,0x111d9,  0x112f0,0x112f9,  0x11450,0x11459,  0x114d0,0x114d9,  0x11650,0x11659,  0x116c0,0x116c9,  0x11730,0x11739,  0x118e0,0x118e9,  0x11c50,0x11c59,  0x11d50,0x11d59,  0x11da0,0x11da9,  0x16a60,0x16a69,  0x16b50,0x16b59,  0x1d7ce,0x1d7ff,  0x1e140,0x1e149,  0x1e2f0,0x1e2f9,  0x1e950,0x1e959,  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_Nd = new unsigned int [631];
	YYCTYPE * s = (YYCTYPE *) buffer_Nd;
	unsigned int buffer_len = encode_utf32 (chars_Nd, sizeof (chars_Nd) / sizeof (unsigned int), buffer_Nd);
	/* convert 32-bit code units to YYCTYPE; reuse the same buffer */
	for (unsigned int i = 0; i < buffer_len; ++i) s[i] = buffer_Nd[i];
	if (!scan (s, s + buffer_len))
		printf("test 'Nd' failed\n");
	delete [] buffer_Nd;
	return 0;
}
