Certified Panic Mode: Repair-Invariant Error Recovery for Maximal-Munch Lexing
Classical panic-mode recovery skips a failed scan forward by convention: it promises progress, and membership in a designated set where one is found, but no repair-universal boundary guarantee for the position it lands on. This paper chooses the resume position by theorem: a position is a sound recovery point when ever...