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 2222 (identifier? #'name )
2323 (let* ([n (get-chunk-number (syntax-local-introduce #'name ))]
2424 [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 ))])
2626
2727 (when n
2828 (inc-chunk-number (syntax-local-introduce #'name )))
6161 (make-splice
6262 (list (make-toc-element
6363 #f
64- (list (elemtag '(chunk tag )
64+ (list (elemtag '(prefixable tag )
6565 (bold (italic (racket name)) " ::= " )))
66- (list (smaller (elemref '(chunk tag ) #:underline? #f
66+ (list (smaller (elemref '(prefixable tag ) #:underline? #f
6767 str
6868 rest (... ... )))))
6969 (racketblock expr (... ... )))))))])))
7575 (syntax-case stx ()
7676 [(_ id)
7777 (identifier? #'id )
78- (with-syntax ([tag (format "~a:1 " (syntax-e #'id ))]
78+ (with-syntax ([tag (format "chunk: ~a:1 " (syntax-e #'id ))]
7979 [str (format "~a " (syntax-e #'id ))])
80- #'(elemref '(chunk tag ) #:underline? #f str))]))
80+ #'(elemref '(prefixable tag ) #:underline? #f str))]))
8181
8282
8383(provide (all-from-out scheme/base
You can’t perform that action at this time.
0 commit comments