diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-06-13 14:20:20 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-06-13 14:20:20 +0300 |
commit | 12304127b52650588877f00b0c4b32dae083e852 (patch) | |
tree | e6a2fa21b66d16a82a7913933b88bd091f633dc6 /src/Make.am | |
parent | dbe318987cf3a36fe63893205d3df0dc3be7fa4a (diff) | |
download | grecs-12304127b52650588877f00b0c4b32dae083e852.tar.gz grecs-12304127b52650588877f00b0c4b32dae083e852.tar.bz2 |
wordsplit: configurable order of lookups if both WRDSF_ENV and WRDSF_GETVAR are set
* lib/wordsplit.h (WRDSO_GETVARPREF): New option.
* lib/wordsplit.c (wordsplit_find_env): Rewrite as wsplt_env_lookup
wsplt_env_getvar): New function.
(expvar): Select preference of wsplt_env_lookup vs. wsplt_env_getvar
depending on the value if WRDSO_GETVARPREF option.
Diffstat (limited to 'src/Make.am')
0 files changed, 0 insertions, 0 deletions