grammar fix: consume with the parser until the end of input instead of possibly leaving it unfinished