put scribble property on escape expressions (no []s or {}s)

svn: r11667
This commit is contained in:
Eli Barzilay 2008-09-12 02:47:13 +00:00
parent 92df21d9df
commit 21640dcc36

View File

@ -466,16 +466,14 @@
(internal-error 'dispatcher))]
[(stx) (let ([ds (and datums (length datums))]
[ls (and lines (length lines))])
(if (or ds ls)
(syntax-property
(if (syntax? stx)
stx
(datum->syntax #f stx
(vector source-name line-num col-num position
(span-from position))
orig-stx))
'scribble (list 'form ds ls))
stx))]
(syntax-property
(if (syntax? stx)
stx
(datum->syntax #f stx
(vector source-name line-num col-num position
(span-from position))
orig-stx))
'scribble (list 'form ds ls)))]
[(stx) (syntax-post-processor stx)]
[(stx)
;; wrap the prefixes around the result