summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2013-12-16 22:55:25 -0500
committerMark H Weaver <mhw@netris.org>2013-12-16 22:55:25 -0500
commit0b83be7eb64eb11479d2bec867d428afb46b5f58 (patch)
tree79f700709c6c344ea5e5000326cd1cefbc682108
parent70c74b847680d3b239e591afa2e99c51a712980c (diff)
downloadguile-0b83be7eb64eb11479d2bec867d428afb46b5f58.tar.gz
Revert "Fix bound-identifier=? to compare binding names, not just symbolic names."
This reverts commit 70c74b847680d3b239e591afa2e99c51a712980c.
-rw-r--r--module/ice-9/psyntax-pp.scm1
-rw-r--r--module/ice-9/psyntax.scm1
-rw-r--r--test-suite/tests/syntax.test5
3 files changed, 0 insertions, 7 deletions
diff --git a/module/ice-9/psyntax-pp.scm b/module/ice-9/psyntax-pp.scm
index af5b61b75..f5f764b0f 100644
--- a/module/ice-9/psyntax-pp.scm
+++ b/module/ice-9/psyntax-pp.scm
@@ -484,7 +484,6 @@
(lambda (i j)
(if (and (syntax-object? i) (syntax-object? j))
(and (eq? (syntax-object-expression i) (syntax-object-expression j))
- (eq? (id-var-name i '(())) (id-var-name j '(())))
(same-marks?
(car (syntax-object-wrap i))
(car (syntax-object-wrap j))))
diff --git a/module/ice-9/psyntax.scm b/module/ice-9/psyntax.scm
index 21dce1220..fa009d2d5 100644
--- a/module/ice-9/psyntax.scm
+++ b/module/ice-9/psyntax.scm
@@ -885,7 +885,6 @@
(if (and (syntax-object? i) (syntax-object? j))
(and (eq? (syntax-object-expression i)
(syntax-object-expression j))
- (eq? (id-var-name i empty-wrap) (id-var-name j empty-wrap))
(same-marks? (wrap-marks (syntax-object-wrap i))
(wrap-marks (syntax-object-wrap j))))
(eq? i j))))
diff --git a/test-suite/tests/syntax.test b/test-suite/tests/syntax.test
index a608af6e2..6fac0ba34 100644
--- a/test-suite/tests/syntax.test
+++ b/test-suite/tests/syntax.test
@@ -1172,11 +1172,6 @@
(r 'outer))
#t)))
-(pass-if "bound-identifier=?"
- (let* ((x 1) (s1 #'x)
- (x 2) (s2 #'x))
- (not (bound-identifier=? s1 s2))))
-
(with-test-prefix "syntax-case"
(pass-if-syntax-error "duplicate pattern variable"