Hi,

Any workaround for this?
Maybe, I could use define-macro instead of define-syntax, though.

Daishi

-------------------------
% chicken -version
   ________    _      __            
  / ____/ /_  (_)____/ /_____  ____ 
 / /   / __ \/ / ___/ //_/ _ \/ __ \
/ /___/ / / / / /__/ ,< /  __/ / / /
\____/_/ /_/_/\___/_/|_|\___/_/ /_/                                             
                             
                                    
Version 1, Build 63 - linux-unix-gnu-x86
(c)2000-2004 Felix L. Winkelmann
% cat bar.scm     
(include "chicken-entry-points")

(define-embedded (foo (int x) (c-string y)) int
  (print x ": " y) 
  x)

(define-embedded (square (double x)) unsigned-int
  (* x x))
% chicken -syntax bar.scm 
compiling `bar.scm' ...
Error: invalid context for definition: (define 
##sys#embedded-entry-point-counter 1)


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to