diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-06 09:03:49 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-06 09:03:49 -0700 |
commit | db8b34eea88e1b634073b120acede13b1e19a8d8 (patch) | |
tree | 58922799e04ac95cf9ffcbae56c05247b63af5fd /lib.c | |
parent | 3b2c323f98ff0c032565d288032b59e1a6c93502 (diff) | |
download | txr-db8b34eea88e1b634073b120acede13b1e19a8d8.tar.gz txr-db8b34eea88e1b634073b120acede13b1e19a8d8.tar.bz2 txr-db8b34eea88e1b634073b120acede13b1e19a8d8.zip |
repl suppresses syntax error exceptions
* parser.c (repl): If an expression is caught of
type syntax-error, then just suppress it. It is not
informative in this situation because the syntax
error diagnostics have appeared on the tty.
A syntax error exceptions is thrown out of the
reader so that program logic doesn't ignore errors.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions