18 while (*bound_type ==
' ') ++bound_type;
19 DLINEAR_ASSERT(strlen(bound_type) == 2,
"Bound type must be exactly 2 characters long");
20 if (bound_type[2] !=
'\0' && bound_type[2] !=
' ') DLINEAR_RUNTIME_ERROR_FMT(
"Invalid bound type: '{}'", bound_type);
21 if ((bound_type[0] ==
'l' || bound_type[0] ==
'L') && (bound_type[1] ==
'o' || bound_type[1] ==
'O')) {
24 if ((bound_type[0] ==
'l' || bound_type[0] ==
'L') && (bound_type[1] ==
'i' || bound_type[1] ==
'I')) {
27 if ((bound_type[0] ==
'u' || bound_type[0] ==
'U') && (bound_type[1] ==
'p' || bound_type[1] ==
'P')) {
30 if ((bound_type[0] ==
'u' || bound_type[0] ==
'U') && (bound_type[1] ==
'i' || bound_type[1] ==
'I')) {
33 if ((bound_type[0] ==
'f' || bound_type[0] ==
'F') && (bound_type[1] ==
'x' || bound_type[1] ==
'X')) {
36 if ((bound_type[0] ==
'f' || bound_type[0] ==
'F') && (bound_type[1] ==
'r' || bound_type[1] ==
'R')) {
39 if ((bound_type[0] ==
'm' || bound_type[0] ==
'M') && (bound_type[1] ==
'i' || bound_type[1] ==
'I')) {
42 if ((bound_type[0] ==
'p' || bound_type[0] ==
'P') && (bound_type[1] ==
'l' || bound_type[1] ==
'L')) {
45 if ((bound_type[0] ==
'b' || bound_type[0] ==
'B') && (bound_type[1] ==
'v' || bound_type[1] ==
'V')) {
48 DLINEAR_RUNTIME_ERROR_FMT(
"Invalid bound type: '{}'", bound_type);