News for hackers. Stuff that matters.
Re:Don't Panic! Better, Fewer, Syntax Errors for LR Parsers by laszlokorte on Wednesday July 15, 2020 @05:55PM (#23852576)
Just a guess: "int x" could already be comsumed so there is no need to change anything about it. It's only the next token that can not be processed.
Re:Don't Panic! Better, Fewer, Syntax Errors for LR Parsers by choeger on Thursday July 16, 2020 @04:01AM (#23856834)
Intriguing, so if we design a language that allows for:

int single x;

and

int x y z;

The error for

int single x y z;

Would be to delete "y" and "z", but not to delete "single"?