Skip to content

Commit

Permalink
Update comment for %ABSOLUTE-START-LINE-NUMBER slot of BASIC-WAD
Browse files Browse the repository at this point in the history
  • Loading branch information
scymtym committed Mar 2, 2024
1 parent ed66858 commit 7bbeea0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions code/wad.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@
(%relative-p :initarg :relative-p
:accessor relative-p)
;; This slot contains the absolute start line of the wad. Its
;; contents is valid only when the wad is on the prefix, and when
;; the wad is the top-level wad which is the first on the suffix.
;; With a wad in a different place, this slot may contain some
;; obsolete value. We define a :BEFORE method on the slot reader
;; so that the wad of the argument will always be on the prefix
;; when the absolute line number is asked for.
;; contents is valid only in certain situations, for example, when
;; the wad is on the prefix, and when the wad is the top-level wad
;; which is the first on the suffix. With a wad in a different
;; place, this slot may contain some obsolete value. When
;; assertions are enabled, we define a :BEFORE method on the slot
;; reader to detect some of those situations and prevent the value
;; from being read in those cases.
(%absolute-start-line-number :initarg :absolute-start-line-number
:type (integer 0)
:accessor absolute-start-line-number)
Expand Down

0 comments on commit 7bbeea0

Please sign in to comment.