diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-10-31 06:07:23 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-10-31 06:07:23 -0700 |
commit | 5389099d2c9b5f2476499f3813dbcbd2eb44235a (patch) | |
tree | c9e35f379fc3e242c18685fd86d13ddd826c5241 /stream.c | |
parent | 3bdf25732b26af5037c1bf05b6b09af8fe43f3c7 (diff) | |
download | txr-5389099d2c9b5f2476499f3813dbcbd2eb44235a.tar.gz txr-5389099d2c9b5f2476499f3813dbcbd2eb44235a.tar.bz2 txr-5389099d2c9b5f2476499f3813dbcbd2eb44235a.zip |
repl: allocate the "catch all" exception list once.
* parser.c (catch_all): New static variable.
(provide_atom, repl): Use static catch_all.
(parse_init): Protect catch_all from GC reclamation.
Diffstat (limited to 'stream.c')
0 files changed, 0 insertions, 0 deletions