Warning
This pull request modifies the parser and updates a generated file. It goes whithout saying that this generated file should be verified as part of the code review process, by running make and verifying that the toke.c files are identical. Reproducible with Flex 2.6.4, from Ubuntu 20.04 repositories.
In general I try to avoid breaking existing sudoers files. I believe the right thing is to treat this as a doc bug and update the manual so that it is clear that whitespace is allowed before the colon.
Closes https://github.com/sudo-project/sudo/issues/153, but is a breaking change. Not sure if the issues this pull request can cause would outweigh the benefits.
https://github.com/sudo-project/sudo/blob/e4ea5ad8afeec173b978446c06b0fc009fb813a1/INSTALL.md?plain=1#L18-L23