diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-07 07:21:02 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-07 07:21:02 -0700 |
commit | a31ad16733b6da5a45803a9482e330d17f690636 (patch) | |
tree | 4bc8f872f823a0020652c6c6fe86c697982ec7a7 /parser.c | |
parent | dcc75348c720acd6c2a0587bca34f7851e6c1283 (diff) | |
download | txr-a31ad16733b6da5a45803a9482e330d17f690636.tar.gz txr-a31ad16733b6da5a45803a9482e330d17f690636.tar.bz2 txr-a31ad16733b6da5a45803a9482e330d17f690636.zip |
Don't use prot1 for temporary gc protection.
* lib.c (split_str, split_str_set, list_str, int_str): Use
gc_hint rather than prot1/rel1. More efficient, doesn't
use space in the prot_stack array.
* regex.c (search_regex): Likewise.
* stream.c (vformat_str, formatv, run): Likewise.
In formatv, rel1 wasn't being called in the uw_unwind
block, so this fixes a bug.
Diffstat (limited to 'parser.c')
0 files changed, 0 insertions, 0 deletions