fixed a bug in matching library subversion in psyntax.

This commit is contained in:
Abdulaziz Ghuloum 2008-06-28 03:16:21 -07:00
parent 1cd581de70
commit 2c8cb7dda2
2 changed files with 4 additions and 5 deletions

View File

@ -1 +1 @@
1523 1524

View File

@ -29,7 +29,6 @@
interaction-environment interaction-environment
ellipsis-map) ellipsis-map)
(import (import
(only (ikarus) printf)
(except (rnrs) (except (rnrs)
environment environment? identifier? environment environment? identifier?
eval generate-temporaries free-identifier=? eval generate-temporaries free-identifier=?
@ -3299,7 +3298,7 @@
[(null? x) #f] [(null? x) #f]
[else [else
(and ((car p*) (car x)) (and ((car p*) (car x))
(f (cdr p*) (cdr x*)))]))))] (f (cdr p*) (cdr x)))]))))]
[_ (syntax-violation 'import "invalid version spec" spec x*)])) [_ (syntax-violation 'import "invalid version spec" spec x*)]))
(let f ([x spec]) (let f ([x spec])
(syntax-match x () (syntax-match x ()