#define __skip_tag(s) do { \
int type = toupper(*(s)); \
++(s); \
- if (type == 'C') ++(s); \
+ if (type == 'C' || type == 'A') ++(s); \
else if (type == 'S') (s) += 2; \
else if (type == 'I' || type == 'F') (s) += 4; \
else if (type == 'D') (s) += 8; \
s = bam1_aux(b);
while (s < b->data + b->data_len) {
int x = (int)s[0]<<8 | s[1];
+ printf("%c%c\n", s[0], s[1]);
s += 2;
if (x == y) return s;
__skip_tag(s);