pull/2/head
Matthew Butterick 9 years ago
parent feec0f85d5
commit 0f9e8018ea

@ -91,7 +91,7 @@
;; angles indicate splicing. set splice value to #t ;; angles indicate splicing. set splice value to #t
[(RULE_HEAD_HIDDEN pattern) [(RULE_HEAD_HIDDEN pattern)
(begin (begin
(define trimmed (regexp-match #px"<(.+)>\\s*:$" $1)) (define trimmed (cadr (regexp-match #px"<(.+)>\\s*:$" $1)))
(rule (position->pos $1-start-pos) (rule (position->pos $1-start-pos)
(position->pos $2-end-pos) (position->pos $2-end-pos)
(lhs-id (position->pos $1-start-pos) (lhs-id (position->pos $1-start-pos)

Loading…
Cancel
Save