diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-11-29 06:26:37 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-11-29 06:26:37 -0800 |
commit | efd63397acfae905ee2d8031fd84d3a821a04fce (patch) | |
tree | 42e107c1506c4af47e5324f514ddcd3deae9688f /protsym.c | |
parent | ba94da1da968be68815249b3de2da0d67d7c966e (diff) | |
download | txr-efd63397acfae905ee2d8031fd84d3a821a04fce.tar.gz txr-efd63397acfae905ee2d8031fd84d3a821a04fce.tar.bz2 txr-efd63397acfae905ee2d8031fd84d3a821a04fce.zip |
getopts: rename add method to add-opt.
The reason for this rename is that add is a public symbol in
the usr package, thanks to the build macro. This will
interfere with an upcoming feature under which options appear
directly as struct slots, defined by symbols. If a user
defines an --add option using the symbol add, it will clash
with the add method. But add-opt will be sys:add-opt.
* share/txr/stdlib/getopts.tl (opts add): Rename to add-opt.
(sys:opt-processor parse-long, sys:opt-processor
parse-shorts): Follow rename.
Diffstat (limited to 'protsym.c')
0 files changed, 0 insertions, 0 deletions