Improve error when 'include' form with relative path is not in a file.
authorMark H Weaver <mhw@netris.org>
Sun, 17 Nov 2013 04:24:42 +0000 (23:24 -0500)
committerMark H Weaver <mhw@netris.org>
Mon, 18 Nov 2013 05:14:23 +0000 (00:14 -0500)
commit750ac8c592e792e627444f476877f282525b132e
treeead60c4c32b65692ea88227be877ba23bcde86fb
parent363df6cf108763e24eb5cb149131a3fa3f400734
Improve error when 'include' form with relative path is not in a file.

Reported by Nala Ginrut <nalaginrut@gmail.com>.

* module/ice-9/psyntax.scm (include): Give a proper error message when
  given a relative file name, and when the form is not in a file.

* module/ice-9/psyntax-pp.scm: Regenerate.
module/ice-9/psyntax-pp.scm
module/ice-9/psyntax.scm