kschiess / parslet

A small PEG based parser library. See the Hacking page in the Wiki as well.
kschiess.github.com/parslet
MIT License
805 stars 95 forks source link

Removed `abort` and `catch_error` methods from infix atom #190

Closed olbrich closed 6 years ago

olbrich commented 6 years ago

These methods were just wrappers around throw and catch that obscured the logic. The abort call referenced in the orignal issue was really a call to the unfortunately named helper and not to Kernel.abort.

I have removed the helpers, which should make the code more explicit, without impacting functionality.

Fixes #186