scala/scala — pull request #924 by hubertp (2012-07-17 10:16:34+00:00)
Title: Fix for SI-5385.

Nodes which hit EOF with no whitespace afterward had
wrong position.

Stole commit from @paulp and adapted it to the current state of master. Needed to fix DirectTest as the original commit assumed that we only produce range positions.

Review by @paulp and @dotta.