fixed binary number regex in test
added support for tracking line numbers

tokens with newlines in them (probably just whitespace?) are
considered to be on the next line. expected, but maybe a bug... need
to think about it some more.