Track column numbers
authorPhil Ruffwind <rf@rufflewind.com>
Wed, 15 Mar 2017 15:54:45 +0000 (11:54 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 15 Mar 2017 15:54:45 +0000 (11:54 -0400)
commitdf6b31d701f8292c3845292004122b5e72f95cad
tree13d73e712060cf5fa2496900baa92004d46e0276
parent9e4da90b7f47c23a2989cba6083fc6ed3880790f
Track column numbers

Summary:
Keep track of column numbers and inform GHC whenever the column number
could be potentially desynchronized from the original source code.  This
should fix GHC #13388 on Trac.

Test Plan: validate

Reviewers: O25 HSC2HS, hvr, bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D3314
C.hs
CrossCodegen.hs
DirectCodegen.hs
Flags.hs
HSCParser.hs
Main.hs
template-hsc.h