seattlerb/oedipus_lex — pull request #5 by hashmal (2014-07-25 10:25:41+00:00)
Title: Increase lineno on nil token

Currently, when a rule doesn't generate a token, as it is often the case with whitespace, the line count isn't incremented properly. This patch solves this and comes with the corresponding test case.