rxi / fe

A tiny, embeddable language implemented in ANSI C
MIT License
1.3k stars 81 forks source link

Fix behavior of `fe_write()` on circular lists #22

Open ooichu opened 1 year ago

ooichu commented 1 year ago

Before this change fe_write() was crashing with segfault on circular lists. Added an example to illustrate the problem.