Closed duelafn closed 4 years ago
Hm, interesting - works in lark 0.9, I'll try to get it working with older larks as well.
Ok, updated to work for both lark-parser<0.8 and lark-parser>=0.8.
I did not update setup.py in this patch set, but there doesn't seem to be any reason to limit lark-parser version <0.8. The tests pass for me up to and including 0.9.0.
Implements trailing comma ignores, if you are still willing to merge such a change.
Thanks!