On Thu, 3 Jan 2019 at 17:03, Daniel Marjamäki <daniel.marjam...@gmail.com> wrote: > > Thank you for the quick reply. > > > how about "stray %qs token"? > > I will change. > > > I wonder how much we want to special-case this. Are you thinking about > > the case where there's a stray symbol in the code (perhaps due to a > > stray keypress, or unfinished manual edits)? > > At the moment I only think about ) } ] > > I would like to focus on only those 3 to start with. but it sounds > good to prepare for more stray tokens later.
It doesn't scale to write a custom diagnostic for every invalid input character in every context.