compiler: more end line/column improvements

(cherry picked from commit f72da6033d17ae0acf9ec047882adafae186d656)
12 files changed