commit 9881c55f7a1e9729e013e1608fdcba9a74a828d5
parent 946db4f0205d34df022b085f28a0456260741feb
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Thu, 26 Jan 2017 04:43:42 +0100
Dropped dependency on phc-graph
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/info.rkt b/info.rkt
@@ -2,7 +2,7 @@
(define collection "subtemplate")
(define deps '("base"
"rackunit-lib"
- "backport-template-pr1514"
+ "backport-template-pr1514" ;; for the documentation only
"phc-toolkit"
"srfi-lite-lib"
"stxparse-info"))
diff --git a/main.rkt b/main.rkt
@@ -8,7 +8,7 @@
stxparse-info/parse/experimental/template
syntax/id-table
racket/syntax
- (for-syntax phc-graph/patch-arrows
+ (for-syntax "patch-arrows.rkt"
stxparse-info/parse
racket/private/sc
racket/syntax
@@ -300,7 +300,8 @@
;; HERE: cache the define-temp-ids in the free-id-table, and make sure
;; that we retrieve the cached ones, so that two subtemplate within the same
;; syntax-case or syntax-parse clause use the same derived ids.
- ;; TODO: mark specially those bindings bound by (derive …) so that they are
+ ;;
+ ;; We mark specially those bindings bound by (derive …) so that they are
;; not seen as original bindings in nested subtemplates (e.g. with an
;; "unsyntax"), otherwise that rule may not hold anymore, e.g.
;; (syntax-parse #'(a b c)