fixes a little bug when a compile error doesn't return a location
Merge pull request #30 from AriaMinaei/master

fixes a little bug when a compile error doesn't return a location