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.