File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
scribble-lib/scribble/private Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 22
22
(identifier? #'name )
23
23
(let* ([n (get-chunk-number (syntax-local-introduce #'name ))]
24
24
[str (symbol->string (syntax-e #'name ))]
25
- [tag (format "~a:~a " str (or n 1 ))])
25
+ [tag (format "chunk: ~a:~a " str (or n 1 ))])
26
26
27
27
(when n
28
28
(inc-chunk-number (syntax-local-introduce #'name )))
61
61
(make-splice
62
62
(list (make-toc-element
63
63
#f
64
- (list (elemtag '(chunk tag )
64
+ (list (elemtag '(prefixable tag )
65
65
(bold (italic (racket name)) " ::= " )))
66
- (list (smaller (elemref '(chunk tag ) #:underline? #f
66
+ (list (smaller (elemref '(prefixable tag ) #:underline? #f
67
67
str
68
68
rest (... ... )))))
69
69
(racketblock expr (... ... )))))))])))
75
75
(syntax-case stx ()
76
76
[(_ id)
77
77
(identifier? #'id )
78
- (with-syntax ([tag (format "~a:1 " (syntax-e #'id ))]
78
+ (with-syntax ([tag (format "chunk: ~a:1 " (syntax-e #'id ))]
79
79
[str (format "~a " (syntax-e #'id ))])
80
- #'(elemref '(chunk tag ) #:underline? #f str))]))
80
+ #'(elemref '(prefixable tag ) #:underline? #f str))]))
81
81
82
82
83
83
(provide (all-from-out scheme/base
You can’t perform that action at this time.
0 commit comments