replace psyntax's syntax-error with r6rs' syntax-violation
authorAndy Wingo <wingo@pobox.com>
Sun, 26 Apr 2009 18:36:58 +0000 (20:36 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 26 Apr 2009 18:36:58 +0000 (20:36 +0200)
commite4721dde312fb2e00963e826441edcc71ee840be
treed56a9de3ad0935d21ebeb2bf0c94b84b84846785
parent165a7596ee62a2871de8569e3d41ef7f7c925594
replace psyntax's syntax-error with r6rs' syntax-violation

* module/ice-9/boot-9.scm (syntax-violation): Well, as long as we have to
  have a function for indicating syntax errors, let's let it be a
  well-thought-out one -- syntax-violation from r6rs. No more
  syntax-error.

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

* module/ice-9/psyntax.scm: Replace instances of syntax-error with
  syntax-violation. Implement as a scm-error to 'syntax-error, with some
  nice arguments.
module/ice-9/boot-9.scm
module/ice-9/psyntax-pp.scm
module/ice-9/psyntax.scm