Macro stepper: fixed bugs re: binding arrows
svn: r5676
This commit is contained in:
parent
9aa54a095c
commit
3652cbee39
|
@ -97,7 +97,7 @@
|
|||
|
||||
(define/public add-syntax
|
||||
(lambda/kw (stx #:key [hi-stxs null] hi-color alpha-table)
|
||||
(when (and hi-stxs (not hi-color))
|
||||
(when (and (pair? hi-stxs) (not hi-color))
|
||||
(error 'syntax-widget%::add-syntax "no highlight color specified"))
|
||||
(let ([colorer (internal-add-syntax stx hi-stxs hi-color)])
|
||||
(when alpha-table
|
||||
|
|
|
@ -531,7 +531,7 @@
|
|||
(let ([result (lift/deriv-e2 synth-deriv)])
|
||||
(when result
|
||||
(send sbview add-text "Expansion finished\n")
|
||||
(send sbview add-syntax result #:alpha-table))
|
||||
(send sbview add-syntax result #:alpha-table alpha-table))
|
||||
(unless result
|
||||
(send sbview add-text "Error\n"))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user