Fix #111, error with docstrings containing single quotes
authorOwen Rodley <Strigoides@gmail.com>
Mon, 3 Jun 2013 01:09:49 +0000 (13:09 +1200)
committerOwen Rodley <Strigoides@gmail.com>
Mon, 3 Jun 2013 01:16:28 +0000 (13:16 +1200)
commit76337cf1599389fdf8ab3f1c40a5f62b123a6237
treee0145c5c05b5e1820f7cc4b2c1c67f27c0ad44dd
parentb77b6a4908af064451bf5292c0a3a5aa65581dfe
Fix #111, error with docstrings containing single quotes
ESCAPE-STRING assumes the resulting string is going to be double-quoted,
and LAMBA-NAME/DOCSTRING-WRAPPER was only single quoting them.

A similar issue was present for function names with single quotes. These
should be read differently, i.e. FO'O => FO (QUOTE O), but until the
reader is fixed to deal with this I think allowing them in function
names makes more sense than failing with a strange error message
src/compiler.lisp
tests/defun.lisp [new file with mode: 0644]