lark-parser / lark

Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
MIT License
4.77k stars 404 forks source link

Fix 1154 #1252

Closed MegaIng closed 1 year ago

MegaIng commented 1 year ago

Fixes #1154

The problem is that the .raw attribute wasn't being serialized. Now it is, so it should remove this particular problem. Also contains a test that should detect general problems in the error message generation as well.

erezsh commented 1 year ago

LGTM

@ornariece Does this fix your use-case?

ornariece commented 1 year ago

@erezsh yup it does! thanks for the quick fix @MegaIng.