diff --git a/beautiful-racket-demo/basic-demo/expander.rkt b/beautiful-racket-demo/basic-demo/expander.rkt index 0a458b2..143acb4 100644 --- a/beautiful-racket-demo/basic-demo/expander.rkt +++ b/beautiful-racket-demo/basic-demo/expander.rkt @@ -14,8 +14,8 @@ (struct $line (number thunk srcloc) #:transparent) (define-macro (b-line LINE-NUMBER STATEMENT) - (with-pattern ([SRCLOC (syntax-srcloc caller-stx)]) - #'($line LINE-NUMBER (thunk STATEMENT) SRCLOC))) + (with-pattern ([CALLER-STX caller-stx]) + #'($line LINE-NUMBER (thunk STATEMENT) (syntax-srcloc #'CALLER-STX)))) (define (b-statement stmt) stmt) (define (b-rem str) #f)