There is no reason to confuse the parser with whitespace. It is sufficient for it to be ignored in the scanner using the [Skip] attribute as shown in the tutorial: [Skip] WHITESPACE -> @"\s+"; "Skip" does not mean "delete". It means that the scanner should recognize the token and then...