/* Generated by re2c */
#line 1 "unicode_group_Nd.u--encoding-policy(substitute).re"
#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 13 "<stdout>"
{
	YYCTYPE yych;

	yych = *YYCURSOR;
	if (yych <= 0x000017E9) {
		if (yych <= 0x00000BE5) {
			if (yych <= 0x00000965) {
				if (yych <= 0x00000669) {
					if (yych <= '/') goto yy2;
					if (yych <= '9') goto yy4;
					if (yych >= 0x00000660) goto yy4;
				} else {
					if (yych <= 0x000006F9) {
						if (yych >= 0x000006F0) goto yy4;
					} else {
						if (yych <= 0x000007BF) goto yy2;
						if (yych <= 0x000007C9) goto yy4;
					}
				}
			} else {
				if (yych <= 0x00000A6F) {
					if (yych <= 0x000009E5) {
						if (yych <= 0x0000096F) goto yy4;
					} else {
						if (yych <= 0x000009EF) goto yy4;
						if (yych >= 0x00000A66) goto yy4;
					}
				} else {
					if (yych <= 0x00000AEF) {
						if (yych >= 0x00000AE6) goto yy4;
					} else {
						if (yych <= 0x00000B65) goto yy2;
						if (yych <= 0x00000B6F) goto yy4;
					}
				}
			}
		} else {
			if (yych <= 0x00000E59) {
				if (yych <= 0x00000CE5) {
					if (yych <= 0x00000BEF) goto yy4;
					if (yych <= 0x00000C65) goto yy2;
					if (yych <= 0x00000C6F) goto yy4;
				} else {
					if (yych <= 0x00000D65) {
						if (yych <= 0x00000CEF) goto yy4;
					} else {
						if (yych <= 0x00000D6F) goto yy4;
						if (yych >= 0x00000E50) goto yy4;
					}
				}
			} else {
				if (yych <= 0x0000103F) {
					if (yych <= 0x00000ED9) {
						if (yych >= 0x00000ED0) goto yy4;
					} else {
						if (yych <= 0x00000F1F) goto yy2;
						if (yych <= 0x00000F29) goto yy4;
					}
				} else {
					if (yych <= 0x0000108F) {
						if (yych <= 0x00001049) goto yy4;
					} else {
						if (yych <= 0x00001099) goto yy4;
						if (yych >= 0x000017E0) goto yy4;
					}
				}
			}
		}
	} else {
		if (yych <= 0x0000A61F) {
			if (yych <= 0x00001A8F) {
				if (yych <= 0x0000194F) {
					if (yych <= 0x0000180F) goto yy2;
					if (yych <= 0x00001819) goto yy4;
					if (yych >= 0x00001946) goto yy4;
				} else {
					if (yych <= 0x000019D9) {
						if (yych >= 0x000019D0) goto yy4;
					} else {
						if (yych <= 0x00001A7F) goto yy2;
						if (yych <= 0x00001A89) goto yy4;
					}
				}
			} else {
				if (yych <= 0x00001BB9) {
					if (yych <= 0x00001B4F) {
						if (yych <= 0x00001A99) goto yy4;
					} else {
						if (yych <= 0x00001B59) goto yy4;
						if (yych >= 0x00001BB0) goto yy4;
					}
				} else {
					if (yych <= 0x00001C49) {
						if (yych >= 0x00001C40) goto yy4;
					} else {
						if (yych <= 0x00001C4F) goto yy2;
						if (yych <= 0x00001C59) goto yy4;
					}
				}
			}
		} else {
			if (yych <= 0x0000ABEF) {
				if (yych <= 0x0000A909) {
					if (yych <= 0x0000A8CF) {
						if (yych <= 0x0000A629) goto yy4;
					} else {
						if (yych <= 0x0000A8D9) goto yy4;
						if (yych >= 0x0000A900) goto yy4;
					}
				} else {
					if (yych <= 0x0000A9D9) {
						if (yych >= 0x0000A9D0) goto yy4;
					} else {
						if (yych <= 0x0000AA4F) goto yy2;
						if (yych <= 0x0000AA59) goto yy4;
					}
				}
			} else {
				if (yych <= 0x000104A9) {
					if (yych <= 0x0000FF0F) {
						if (yych <= 0x0000ABF9) goto yy4;
					} else {
						if (yych <= 0x0000FF19) goto yy4;
						if (yych >= 0x000104A0) goto yy4;
					}
				} else {
					if (yych <= 0x0001106F) {
						if (yych >= 0x00011066) goto yy4;
					} else {
						if (yych <= 0x0001D7CD) goto yy2;
						if (yych <= 0x0001D7FF) goto yy4;
					}
				}
			}
		}
	}
yy2:
	++YYCURSOR;
#line 13 "unicode_group_Nd.u--encoding-policy(substitute).re"
	{ return YYCURSOR == limit; }
#line 154 "<stdout>"
yy4:
	++YYCURSOR;
#line 12 "unicode_group_Nd.u--encoding-policy(substitute).re"
	{ goto Nd; }
#line 159 "<stdout>"
}
#line 14 "unicode_group_Nd.u--encoding-policy(substitute).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,  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,  0xaa50,0xaa59,  0xabf0,0xabf9,  0xff10,0xff19,  0x104a0,0x104a9,  0x11066,0x1106f,  0x1d7ce,0x1d7ff,  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 ()
{
	YYCTYPE * buffer_Nd = new YYCTYPE [421];
	unsigned int buffer_len = encode_utf32 (chars_Nd, sizeof (chars_Nd) / sizeof (unsigned int), buffer_Nd);
	if (!scan (reinterpret_cast<const YYCTYPE *> (buffer_Nd), reinterpret_cast<const YYCTYPE *> (buffer_Nd + buffer_len)))
		printf("test 'Nd' failed\n");
	delete [] buffer_Nd;
	return 0;
}
