summaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-10-25 14:28:49 -0400
committerKaz Kylheku <kaz@kylheku.com>2011-10-25 14:28:49 -0400
commit756345ddd407550ee41469667a66e7ce9d8eb49e (patch)
treefa29d7e942a344147329a78c004d1097ca9072cf /hash.h
parentbdca604f10ffdbde56c68ca30b4adbee0f10818e (diff)
downloadtxr-756345ddd407550ee41469667a66e7ce9d8eb49e.tar.gz
txr-756345ddd407550ee41469667a66e7ce9d8eb49e.tar.bz2
txr-756345ddd407550ee41469667a66e7ce9d8eb49e.zip
Shorthand for filters which map multiple texts to a common
replacement text. * filter.c (build_filter_from_list): Allow tuples to denote multiple keys mapping to the same value. * lib.c (do_curry_123_2, do_curry_123_1): New static functions. (curry_123_2, curry_123_1): New functions. * lib.h (curry_123_2, curry_123_1): New functions declared. * match.c (v_deffilter): Allow tuples of strings rather than just pairs. * txr.1: Updated.
Diffstat (limited to 'hash.h')
0 files changed, 0 insertions, 0 deletions