parser: a mode must end at a word boundary
A single-letter mode was stolen from the middle of a longer word, so `gen testG r now` mis-parsed as name=r, mode=n (the 'n' of 'now'), leaving 'ow' dangling and failing with a trailing-input error. Require a non-alphanumeric after a mode so 'now' parses as the date it is. Adds a regression test.
This commit is contained in:
Binary file not shown.
Reference in New Issue
Block a user