added line number compatibility
Merge pull request #13 from Hopiu/master

Added line number compatibility