Tile-Gx: use is_end_of_stmt() ... instead of open-coding it. Also convert a variable to plain char (allowing to drop two casts), which is how it's actually used.