chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] (use syntax-case) in included file -> error


From: Dan
Subject: [Chicken-users] (use syntax-case) in included file -> error
Date: Thu, 27 Apr 2006 06:36:33 -0700 (PDT)

Hi all,

the following sources yield a misterious "Error:
syntax error - illegal atomic form `()'" csc error

x.scm:
---
(include "danm/chicken-prelude.scm")

(display "Hi\n")
---
danm/chicken-prelude.scm:
---
(use syntax-case)

(define-syntax require-library
  (syntax-rules ()
    ((_ lib) (require lib))))
---

However, "csc -R syntax-case x.scm" does not complain.
Moving "(use syntax-case)" to x.scm also fixes the
whining. Bug?

-- Dan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]