On Sep 2, 2009, at 8:38 PM, Abdulaziz Ghuloum wrote:


On Sep 2, 2009, at 8:24 PM, kub wrote:

I have following problem which looks like a bug:
syntax-violation thrown from eval has invalid syntax inside
(contains symbol).

If you look at the condition thrown, it'd look something like

#[compound-condition
  (#[&who guard]
   #[&message "invalid syntax"]
   #[&syntax (guard) #f]
   #[&source-position "./t.sls" 43]
   #[&trace #<syntax (guard) [char 43 of ./t.sls]>])]

which looks perfectly valid.

From r6rs-lib about &syntax:

  Form should be the erroneous syntax object *or a datum*
  representing the code of the erroneous form.

Ikarus right now only puts a datum in the &syntax condition.

Aziz,,,

Reply via email to