Improve GHCi line numbers in errors
authorIan Lynagh <igloo@earth.li>
Sun, 27 Feb 2011 17:20:12 +0000 (17:20 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 27 Feb 2011 17:20:12 +0000 (17:20 +0000)
commit3da491217855adfe4eeace6493c9a625e23965ea
treeee7acc2eed00db983fde6f98e93a7ab6ba3c2bb4
parenteccb2d89eb4b34f31e8ea337d5f8673605f71665
Improve GHCi line numbers in errors
When running commands from the user (as opposed to from a file), reset
the line number to 1 at the start of each command.
ghc/InteractiveUI.hs