summaryrefslogtreecommitdiffstats
path: root/parser.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-10-13 19:25:15 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-10-13 19:25:15 -0700
commitfe47cba529cc8688e7073b51ee1c596d5b42bda8 (patch)
tree79de5074fb521064d77bac75a250b2808fc0308b /parser.h
parent17dc6a75c2634be5529915e5030153e28c78832a (diff)
downloadtxr-fe47cba529cc8688e7073b51ee1c596d5b42bda8.tar.gz
txr-fe47cba529cc8688e7073b51ee1c596d5b42bda8.tar.bz2
txr-fe47cba529cc8688e7073b51ee1c596d5b42bda8.zip
* eval.c (eval_init): Register greater function as intrinsic.
* lib.c (gt_f, lt_f): Global variables removed. (greater_f): New variable. (greater): New function. (find_max, pos_max): Use greater_f as default for testfun, rather than gt_f. (find_min, pos_min): Use less_f as default for testfun, rather than lt_f. (obj_init): Remove references to gt_f and lt_f. GC-protect and initialize greater_f. * lib.h (greater_f): Declared. (gt_f, lt_f): Declarations removed. * txr.1: Documented greater, and use of less and greater in pos-min, pos-max, find-min and find-max. * txr.vim: Regenerated.
Diffstat (limited to 'parser.h')
0 files changed, 0 insertions, 0 deletions