peggyjs / peggy

Peggy: Parser generator for JavaScript

Home Page:https://peggyjs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error location at diffrent place between online-editor and parsed-error

IAIAE opened this issue · comments

the error location seems diffrent.

image

the error tip in online-editor is more desirable. but the compiled parser provides another ambiguous one.

how to get the online-editor version?

Are you sure you're using a grammar generated by the latest version of peggy? Do you have a project or example I can look at to help diagnose?