copy over missed paren-shape change from branch

svn: r4408
This commit is contained in:
Matthew Flatt 2006-09-21 22:30:58 +00:00
parent 9b79de00d6
commit 7f62277189
3 changed files with 360 additions and 358 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1608,7 +1608,7 @@
"(if(syntax? datum)" "(if(syntax? datum)"
" datum" " datum"
"(let((stx(datum->syntax-object orig datum orig)))" "(let((stx(datum->syntax-object orig datum orig)))"
"(let((shape(syntax-property stx 'paren-shape)))" "(let((shape(syntax-property orig 'paren-shape)))"
"(if shape" "(if shape"
"(syntax-property stx 'paren-shape shape)" "(syntax-property stx 'paren-shape shape)"
" stx)))))" " stx)))))"

View File

@ -1894,7 +1894,7 @@
(if (syntax? datum) (if (syntax? datum)
datum datum
(let ([stx (datum->syntax-object orig datum orig)]) (let ([stx (datum->syntax-object orig datum orig)])
(let ([shape (syntax-property stx 'paren-shape)]) (let ([shape (syntax-property orig 'paren-shape)])
(if shape (if shape
(syntax-property stx 'paren-shape shape) (syntax-property stx 'paren-shape shape)
stx))))) stx)))))