incomplete expression when last line is commented out

issue addressed in #151 

I have implemented unittest for it.
didn't figured out the solution yet.

* [x] Unittest
* [ ] Fix