[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #789: bind egg: unable to parse command-line paramete
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #789: bind egg: unable to parse command-line parameters |
Date: |
Mon, 20 Feb 2012 00:05:34 -0000 |
#789: bind egg: unable to parse command-line parameters
------------------------+---------------------------------------------------
Reporter: kristianlm | Owner:
Type: defect | Status: new
Priority: major | Milestone: 4.8.0
Component: extensions | Version: 4.7.x
Keywords: bind |
------------------------+---------------------------------------------------
After installing {{{chicken-bind}}}, and supplying certain command-line
options, {{{chicken-bind}} fails during command-line parsing:
{{{
$ chicken-bind -export-constants
Error: bad argument count - received 2 but expected 1: #<procedure>
}}}
This small patch should fix the problem:
{{{
diff --git a/bind-translator.scm b/bind-translator.scm
index 31cf9d2..6796063 100644
--- a/bind-translator.scm
+++ b/bind-translator.scm
@@ -1382,7 +1382,7 @@ EOF
(loop (cdr pstack) ppstack) ]
[else (loop pstack ppstack)] ) ) ) ) ) )
-(define (set-bind-options opts)
+(define (set-bind-options . opts)
(let loop ((opts opts))
(match opts
(() #f)
}}}
--
Ticket URL: <http://bugs.call-cc.org/ticket/789>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #789: bind egg: unable to parse command-line parameters,
Chicken Trac <=