| 1125 | } |
| 1126 | |
| 1127 | static uae_u64 getqual (const TCHAR **pp) |
| 1128 | { |
| 1129 | const TCHAR *p = *pp; |
| 1130 | uae_u64 mask = 0; |
| 1131 | |
| 1132 | while ((*p >= 'A' && *p <= 'Z') || (*p >= 'a' && *p <= 'z')) { |
| 1133 | bool press = (*p >= 'A' && *p <= 'Z'); |
| 1134 | int shift, inc; |
| 1135 | |
| 1136 | if (press) { |
| 1137 | shift = *p - 'A'; |
| 1138 | inc = 0; |
| 1139 | } else { |
| 1140 | shift = *p - 'a'; |
| 1141 | inc = 1; |
| 1142 | } |
| 1143 | mask |= ID_FLAG_QUALIFIER1 << (shift * 2 + inc); |
| 1144 | p++; |
| 1145 | } |
| 1146 | while (*p != 0 && *p !='.' && *p != ',') |
| 1147 | p++; |
| 1148 | if (*p == '.' || *p == ',') |
| 1149 | p++; |
| 1150 | *pp = p; |
| 1151 | return mask; |
| 1152 | } |
| 1153 | |
| 1154 | static int getnum (const TCHAR **pp) |
| 1155 | { |
no outgoing calls
no test coverage detected