(c, codec='utf8')
| 279 | # |
| 280 | # \return - true if printable, false if not |
| 281 | def isprintable(c, codec='utf8'): |
| 282 | try: c.decode(codec) |
| 283 | except UnicodeDecodeError: return False |
| 284 | else: return True |
| 285 | |
| 286 | # Given a start FilePosition, find the next valid character that is |
| 287 | # syntactically important for the C/C++ program and return both the character |
no outgoing calls
no test coverage detected