summaryrefslogtreecommitdiffstats
path: root/linenoise/example.c
diff options
context:
space:
mode:
authorPaul A. Patience <paul@apatience.com>2022-01-26 06:41:27 -0500
committerKaz Kylheku <kaz@kylheku.com>2022-01-27 11:53:25 -0800
commitd18bf6605613cc0eb8038d1e42f5faac37510a1a (patch)
treef3460c4e1ee101eabf80b8bbe85bf907dadeb1bc /linenoise/example.c
parentb67e288a9bd75fa8275e20827c689aa1444f2226 (diff)
downloadtxr-d18bf6605613cc0eb8038d1e42f5faac37510a1a.tar.gz
txr-d18bf6605613cc0eb8038d1e42f5faac37510a1a.tar.bz2
txr-d18bf6605613cc0eb8038d1e42f5faac37510a1a.zip
filter: actually throw from filter-string-tree.
* filter.c (filter_string_tree): The function tries to call uw_throwf when an invalid filter is provided, but an overzealous return statement renders the effort futile. Remove the return statement, change the exception type from error_s to type_error_s, and conform the message to the usual type-error style.
Diffstat (limited to 'linenoise/example.c')
0 files changed, 0 insertions, 0 deletions