semantic: Handle char literals in range checking.