some more overlap fixes
svn: r13452
This commit is contained in:
parent
c859eba9ac
commit
e35e25408f
|
@ -92,13 +92,22 @@
|
|||
(render-metafunction Name))
|
||||
"metafunction-Name-vertical.png")
|
||||
|
||||
;; makes sure that there is no overlap inside or across metafunction calls
|
||||
;; or when there are unquotes involved
|
||||
(define-metafunction lang
|
||||
[(multi-arg a
|
||||
b
|
||||
c)
|
||||
(multi-arg a
|
||||
b
|
||||
c)])
|
||||
((multi-arg a
|
||||
b
|
||||
c)
|
||||
(multi-arg a
|
||||
b
|
||||
c))]
|
||||
[(multi-arg unquote-test)
|
||||
(,@(term (multi-arg with-unquote))
|
||||
,@(term (multi-arg with-unquote))
|
||||
,@(term (multi-arg with-unquote)))])
|
||||
|
||||
(test (render-metafunction multi-arg) "metafunction-multi-arg.png")
|
||||
|
||||
|
|
|
@ -257,7 +257,8 @@
|
|||
(car l))]))]))
|
||||
|
||||
(define (rewrite-metafunction-app lst line line-span col col-span something-or-other)
|
||||
(list* 'spring
|
||||
(list* (build-lw "" line 0 col 0)
|
||||
'spring
|
||||
(just-after (hbl-append
|
||||
(metafunction-text (symbol->string (lw-e (cadr lst))))
|
||||
(open-white-square-bracket))
|
||||
|
|
|
@ -67,8 +67,7 @@
|
|||
#`(init-loc-wrapper
|
||||
(list (init-loc-wrapper "" #,(syntax-line stx) #,(syntax-column stx) #,quoted?)
|
||||
'spring
|
||||
#,(process-arg (cadr (syntax->list stx)) (+ quote-depth 1))
|
||||
'spring)
|
||||
#,(process-arg (cadr (syntax->list stx)) (+ quote-depth 1)))
|
||||
#,(syntax-line stx)
|
||||
#,(syntax-column stx)
|
||||
#,quoted?)
|
||||
|
|
Loading…
Reference in New Issue
Block a user