diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-04-20 08:54:21 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-04-20 09:47:40 +0300 |
commit | 3e07e3ad30e8a7a091e213eb4df839b7cf7f1e64 (patch) | |
tree | a3c83a584f8e2b54e294ff1dfa04a2262459d5a4 /tests/wordsplit.at | |
parent | 1498bd570eb001a6b2bc3f1a5074e8b384d6db30 (diff) | |
download | grecs-3e07e3ad30e8a7a091e213eb4df839b7cf7f1e64.tar.gz grecs-3e07e3ad30e8a7a091e213eb4df839b7cf7f1e64.tar.bz2 |
Improve variable handling in wordsplit.
Positional variables ($N and ${N}) are recognized. Variable names in
curly braces follow the same rules as unadorned ones.
This commit also changes memory reallocation strategy in wsplt_assign_var.
If ws_envbuf needs to be expanded, new allocation size is selected as
3/2 of the previous allocation, if that size is less than max(size_t).
Diffstat (limited to 'tests/wordsplit.at')
0 files changed, 0 insertions, 0 deletions