Better error reporting for invalid bit string comprehension generators