diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-12-31 01:02:46 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-12-31 01:02:46 -0800 |
| commit | d8f9b15fd9da8c9ae29ee0b63c4302e5efbde387 (patch) | |
| tree | 418278e778d5bdfcd884e31be612c04c05c2a3dd /core/errors.nom | |
| parent | 0f83a81fa6d2c131aea747da035a53019f3d7d2a (diff) | |
Cleaning up some of the documentation and dead code.
Diffstat (limited to 'core/errors.nom')
| -rw-r--r-- | core/errors.nom | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/errors.nom b/core/errors.nom index 6a773a7..6779922 100644 --- a/core/errors.nom +++ b/core/errors.nom @@ -88,21 +88,9 @@ test: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# - [..] - try %action and if it succeeds %success or if it barfs %fallback - try %action and if it barfs %fallback or if it succeeds %success - ..all parse as (..) - try %action and if it succeeds %success or if it barfs (=lua "") %fallback - - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - (try $action) parses as try $action and if it succeeds (do nothing) or if it barfs (do nothing) -#(try %action and if it barfs %fallback) parses as (..) - try %action and if it succeeds (do nothing) or if it barfs %fallback - (try $action and if it barfs $msg $fallback) parses as try $action and if it succeeds (do nothing) or if it barfs $msg $fallback |
