summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-06 09:03:49 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-06 09:03:49 -0700
commitdb8b34eea88e1b634073b120acede13b1e19a8d8 (patch)
tree58922799e04ac95cf9ffcbae56c05247b63af5fd /lib.c
parent3b2c323f98ff0c032565d288032b59e1a6c93502 (diff)
downloadtxr-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