php-peg icon indicating copy to clipboard operation
php-peg copied to clipboard

Exceptions if process ends prematurely

Open th3n3rd opened this issue 11 years ago • 0 comments

There should be some hooks to give user the chance to throw an Exception if the process of parsing is premuterely completed, es. Syntax Error. At the moment the process just stop and return an imcomplete tree without any hint about why is incomplete, what characters stopped the process and at wich position occurred.

th3n3rd avatar Sep 29 '13 15:09 th3n3rd