getWord() should not go beyond the end of the source text.
authorLei Zhang <antiagainst@google.com>
Mon, 22 Feb 2016 22:17:25 +0000 (17:17 -0500)
committerLei Zhang <antiagainst@google.com>
Mon, 22 Feb 2016 22:25:08 +0000 (17:25 -0500)
commit9413fbbf587b23541c4339943325a474641cd605
tree48508a294f0a6525f1e231c520a632817d67233a
parentd1f64c6394d3d62d2e3612dadcd81e740734e0f8
getWord() should not go beyond the end of the source text.

This addresses Bug #126 where EOL is missing at the end of
source file.
source/text_handler.cpp
test/TextWordGet.cpp