Bug fix: error when the last line is empty
Merge pull request #22 from emmanuelgautier/master

Bug fix: error when the last line is empty