Revert "Revert "Rewrote lex function to handle line numbers""
Revert "Revert "Rewrote lex function to handle line numbers""

This reverts commit 7537f865e80ea2ed0e6bc68ee8b8f86b21abad74.

travisby/calab-compiler,travisby/calab-compiler