Hello,

i'm having trouble using the awk macro and syntax-case at the same time.
Whenever i use an awk-macro and just load syntax-case (via
require-extension) chicken complains about an unbound variable somewhere
deep in the expanded code.

I've attached a small code snippet to demonstrate this.

I'm using chicken 2.5.  Any idea?

        Tim
;; This alone works
(require-extension awk)
;; but if you additionally
;(require-extension syntax-case)
;; it won't

(with-input-from-string "this was the input"
  (lambda ()
    (awk (read-line) (line) lineno ((init 0))
       (else  (print line)))))

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to