From 5fd9b540e5adec22ec3f0998f992ce2e6d761c77 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Thu, 8 Dec 2016 12:22:08 -0800 Subject: [PATCH] use `position` rather than `offset` --- brag/brag/brag.scrbl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brag/brag/brag.scrbl b/brag/brag/brag.scrbl index 2981a12..127c91c 100755 --- a/brag/brag/brag.scrbl +++ b/brag/brag/brag.scrbl @@ -932,7 +932,7 @@ In addition to the exports shown below, the @racketmodname[brag/support] module [val any/c #f] [#:line line (or/c positive-integer? #f) #f] [#:column column (or/c natural-number? #f) #f] - [#:offset offset (or/c positive-integer? #f) #f] + [#:position position (or/c positive-integer? #f) #f] [#:span span (or/c natural-number? #f) #f] [#:skip? skip? boolean? #f] ) @@ -948,7 +948,7 @@ parse.} @defstruct[token-struct ([type symbol?] [val any/c] - [offset (or/c positive-integer? #f)] + [position (or/c positive-integer? #f)] [line (or/c natural-number? #f)] [column (or/c positive-integer? #f)] [span (or/c natural-number? #f)]