Displaying 1 result from an estimated 1 matches for "st_match_range".
2011 Apr 04
1
[PATCH] com32: Do not use centralized bitops header in vsscanf
...if (ch == '^' && !(flags & FL_INV)) {
matchinv = 1;
} else {
- set_bit((unsigned char)ch, matchmap);
+ set_bit(matchmap, (unsigned char)ch);
state = st_match;
}
break;
@@ -310,18 +321,18 @@ set_integer:
range_start = (unsigned char)ch;
state = st_match_range;
} else {
- set_bit((unsigned char)ch, matchmap);
+ set_bit(matchmap, (unsigned char)ch);
}
break;
case st_match_range: /* %[ match after - */
if (ch == ']') {
- set_bit((unsigned char)'-', matchmap); /* - was last character */
+ set_bit(matchmap, (un...