mojoshader_lexer.c
changeset 960 d90fa2381bab
parent 910 3ee487d85ecb
child 1121 4142681f9fda
equal deleted inserted replaced
959:8a5d46db0cc6 960:d90fa2381bab
   584 yy123:
   584 yy123:
   585 	yyaccept = 2;
   585 	yyaccept = 2;
   586 	YYMARKER = ++YYCURSOR;
   586 	YYMARKER = ++YYCURSOR;
   587 	if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
   587 	if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
   588 	yych = *YYCURSOR;
   588 	yych = *YYCURSOR;
   589 	if (yych <= 'K') {
   589 	if (yych <= 'G') {
   590 		if (yych <= 'D') {
   590 		if (yych <= 'D') {
   591 			if (yych <= '/') goto yy125;
   591 			if (yych <= '/') goto yy125;
   592 			if (yych <= '9') goto yy123;
   592 			if (yych <= '9') goto yy123;
   593 		} else {
   593 		} else {
   594 			if (yych <= 'E') goto yy126;
   594 			if (yych <= 'E') goto yy126;
   595 			if (yych <= 'F') goto yy127;
   595 			if (yych <= 'F') goto yy127;
   596 		}
   596 		}
   597 	} else {
   597 	} else {
   598 		if (yych <= 'e') {
   598 		if (yych <= 'e') {
   599 			if (yych <= 'L') goto yy127;
   599 			if (yych <= 'H') goto yy127;
   600 			if (yych >= 'e') goto yy126;
   600 			if (yych >= 'e') goto yy126;
   601 		} else {
   601 		} else {
   602 			if (yych <= 'f') goto yy127;
   602 			if (yych == 'g') goto yy125;
   603 			if (yych == 'l') goto yy127;
   603 			if (yych <= 'h') goto yy127;
   604 		}
   604 		}
   605 	}
   605 	}
   606 yy125:
   606 yy125:
   607 	{ RET(TOKEN_FLOAT_LITERAL); }
   607 	{ RET(TOKEN_FLOAT_LITERAL); }
   608 yy126:
   608 yy126:
   625 	if (yych >= ':') goto yy114;
   625 	if (yych >= ':') goto yy114;
   626 yy129:
   626 yy129:
   627 	++YYCURSOR;
   627 	++YYCURSOR;
   628 	if (YYLIMIT <= YYCURSOR) YYFILL(1);
   628 	if (YYLIMIT <= YYCURSOR) YYFILL(1);
   629 	yych = *YYCURSOR;
   629 	yych = *YYCURSOR;
   630 	if (yych <= 'K') {
   630 	if (yych <= 'G') {
   631 		if (yych <= '9') {
   631 		if (yych <= '9') {
   632 			if (yych <= '/') goto yy125;
   632 			if (yych <= '/') goto yy125;
   633 			goto yy129;
   633 			goto yy129;
   634 		} else {
   634 		} else {
   635 			if (yych == 'F') goto yy127;
   635 			if (yych == 'F') goto yy127;
   636 			goto yy125;
   636 			goto yy125;
   637 		}
   637 		}
   638 	} else {
   638 	} else {
   639 		if (yych <= 'f') {
   639 		if (yych <= 'f') {
   640 			if (yych <= 'L') goto yy127;
   640 			if (yych <= 'H') goto yy127;
   641 			if (yych <= 'e') goto yy125;
   641 			if (yych <= 'e') goto yy125;
   642 			goto yy127;
   642 			goto yy127;
   643 		} else {
   643 		} else {
   644 			if (yych == 'l') goto yy127;
   644 			if (yych == 'h') goto yy127;
   645 			goto yy125;
   645 			goto yy125;
   646 		}
   646 		}
   647 	}
   647 	}
   648 yy131:
   648 yy131:
   649 	++YYCURSOR;
   649 	++YYCURSOR;
   842 	if (yych >= ':') goto yy114;
   842 	if (yych >= ':') goto yy114;
   843 yy147:
   843 yy147:
   844 	++YYCURSOR;
   844 	++YYCURSOR;
   845 	if (YYLIMIT <= YYCURSOR) YYFILL(1);
   845 	if (YYLIMIT <= YYCURSOR) YYFILL(1);
   846 	yych = *YYCURSOR;
   846 	yych = *YYCURSOR;
   847 	if (yych <= 'K') {
   847 	if (yych <= 'G') {
   848 		if (yych <= '9') {
   848 		if (yych <= '9') {
   849 			if (yych <= '/') goto yy125;
   849 			if (yych <= '/') goto yy125;
   850 			goto yy147;
   850 			goto yy147;
   851 		} else {
   851 		} else {
   852 			if (yych == 'F') goto yy127;
   852 			if (yych == 'F') goto yy127;
   853 			goto yy125;
   853 			goto yy125;
   854 		}
   854 		}
   855 	} else {
   855 	} else {
   856 		if (yych <= 'f') {
   856 		if (yych <= 'f') {
   857 			if (yych <= 'L') goto yy127;
   857 			if (yych <= 'H') goto yy127;
   858 			if (yych <= 'e') goto yy125;
   858 			if (yych <= 'e') goto yy125;
   859 			goto yy127;
   859 			goto yy127;
   860 		} else {
   860 		} else {
   861 			if (yych == 'l') goto yy127;
   861 			if (yych == 'h') goto yy127;
   862 			goto yy125;
   862 			goto yy125;
   863 		}
   863 		}
   864 	}
   864 	}
   865 yy149:
   865 yy149:
   866 	yyaccept = 2;
   866 	yyaccept = 2;
   867 	YYMARKER = ++YYCURSOR;
   867 	YYMARKER = ++YYCURSOR;
   868 	if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
   868 	if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
   869 	yych = *YYCURSOR;
   869 	yych = *YYCURSOR;
   870 yy150:
   870 yy150:
   871 	if (yych <= 'K') {
   871 	if (yych <= 'G') {
   872 		if (yych <= 'D') {
   872 		if (yych <= 'D') {
   873 			if (yych <= '/') goto yy125;
   873 			if (yych <= '/') goto yy125;
   874 			if (yych <= '9') goto yy149;
   874 			if (yych <= '9') goto yy149;
   875 			goto yy125;
   875 			goto yy125;
   876 		} else {
   876 		} else {
   878 			if (yych <= 'F') goto yy127;
   878 			if (yych <= 'F') goto yy127;
   879 			goto yy125;
   879 			goto yy125;
   880 		}
   880 		}
   881 	} else {
   881 	} else {
   882 		if (yych <= 'e') {
   882 		if (yych <= 'e') {
   883 			if (yych <= 'L') goto yy127;
   883 			if (yych <= 'H') goto yy127;
   884 			if (yych <= 'd') goto yy125;
   884 			if (yych <= 'd') goto yy125;
   885 			goto yy155;
   885 			goto yy155;
   886 		} else {
   886 		} else {
   887 			if (yych <= 'f') goto yy127;
   887 			if (yych == 'g') goto yy125;
   888 			if (yych == 'l') goto yy127;
   888 			if (yych <= 'h') goto yy127;
   889 			goto yy125;
   889 			goto yy125;
   890 		}
   890 		}
   891 	}
   891 	}
   892 yy151:
   892 yy151:
   893 	yych = *++YYCURSOR;
   893 	yych = *++YYCURSOR;
   905 	if (yych >= ':') goto yy114;
   905 	if (yych >= ':') goto yy114;
   906 yy153:
   906 yy153:
   907 	++YYCURSOR;
   907 	++YYCURSOR;
   908 	if (YYLIMIT <= YYCURSOR) YYFILL(1);
   908 	if (YYLIMIT <= YYCURSOR) YYFILL(1);
   909 	yych = *YYCURSOR;
   909 	yych = *YYCURSOR;
   910 	if (yych <= 'K') {
   910 	if (yych <= 'G') {
   911 		if (yych <= '9') {
   911 		if (yych <= '9') {
   912 			if (yych <= '/') goto yy125;
   912 			if (yych <= '/') goto yy125;
   913 			goto yy153;
   913 			goto yy153;
   914 		} else {
   914 		} else {
   915 			if (yych == 'F') goto yy127;
   915 			if (yych == 'F') goto yy127;
   916 			goto yy125;
   916 			goto yy125;
   917 		}
   917 		}
   918 	} else {
   918 	} else {
   919 		if (yych <= 'f') {
   919 		if (yych <= 'f') {
   920 			if (yych <= 'L') goto yy127;
   920 			if (yych <= 'H') goto yy127;
   921 			if (yych <= 'e') goto yy125;
   921 			if (yych <= 'e') goto yy125;
   922 			goto yy127;
   922 			goto yy127;
   923 		} else {
   923 		} else {
   924 			if (yych == 'l') goto yy127;
   924 			if (yych == 'h') goto yy127;
   925 			goto yy125;
   925 			goto yy125;
   926 		}
   926 		}
   927 	}
   927 	}
   928 yy155:
   928 yy155:
   929 	yych = *++YYCURSOR;
   929 	yych = *++YYCURSOR;
   941 	if (yych >= ':') goto yy114;
   941 	if (yych >= ':') goto yy114;
   942 yy157:
   942 yy157:
   943 	++YYCURSOR;
   943 	++YYCURSOR;
   944 	if (YYLIMIT <= YYCURSOR) YYFILL(1);
   944 	if (YYLIMIT <= YYCURSOR) YYFILL(1);
   945 	yych = *YYCURSOR;
   945 	yych = *YYCURSOR;
   946 	if (yych <= 'K') {
   946 	if (yych <= 'G') {
   947 		if (yych <= '9') {
   947 		if (yych <= '9') {
   948 			if (yych <= '/') goto yy125;
   948 			if (yych <= '/') goto yy125;
   949 			goto yy157;
   949 			goto yy157;
   950 		} else {
   950 		} else {
   951 			if (yych == 'F') goto yy127;
   951 			if (yych == 'F') goto yy127;
   952 			goto yy125;
   952 			goto yy125;
   953 		}
   953 		}
   954 	} else {
   954 	} else {
   955 		if (yych <= 'f') {
   955 		if (yych <= 'f') {
   956 			if (yych <= 'L') goto yy127;
   956 			if (yych <= 'H') goto yy127;
   957 			if (yych <= 'e') goto yy125;
   957 			if (yych <= 'e') goto yy125;
   958 			goto yy127;
   958 			goto yy127;
   959 		} else {
   959 		} else {
   960 			if (yych == 'l') goto yy127;
   960 			if (yych == 'h') goto yy127;
   961 			goto yy125;
   961 			goto yy125;
   962 		}
   962 		}
   963 	}
   963 	}
   964 yy159:
   964 yy159:
   965 	yyaccept = 1;
   965 	yyaccept = 1;