/* Generated by re2c */
#line 1 "codegen/c/standalone_single_quotes.re"
// re2c $INPUT -o $OUTPUT
#include <assert.h>

long lex(const char *s) {
    const char *YYCURSOR = s;
    
#line 10 "codegen/c/standalone_single_quotes.c"
{
	char yych;
	yych = *YYCURSOR;
	switch (yych) {
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9': goto yy2;
		default: goto yy1;
	}
yy1:
	++YYCURSOR;
#line 13 "codegen/c/standalone_single_quotes.re"
	{ return -1; }
#line 30 "codegen/c/standalone_single_quotes.c"
yy2:
	yych = *++YYCURSOR;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9': goto yy2;
		default: goto yy3;
	}
yy3:
#line 12 "codegen/c/standalone_single_quotes.re"
	{ long x = 0xa'b'c'd1'2'3'4L; return x; }
#line 49 "codegen/c/standalone_single_quotes.c"
}
#line 14 "codegen/c/standalone_single_quotes.re"

}

int main() {
    assert(lex("1234") == 0xabcd1234L);
    return 0;
}
