Fixed various spelling errors.

original commit: c9519fd11300b07292df8619e86f48533eff6e4d
tokens
David Van Horn 13 years ago committed by Sam Tobin-Hochstadt
parent 5a8f4925ee
commit eee95f195a

@ -252,7 +252,7 @@
;; including a match at the current state ;; including a match at the current state
(longest-match-action (longest-match-action
(vector-ref actions start-state)) (vector-ref actions start-state))
;; how many bytes preceed char ;; how many bytes precede char
(length-bytes 0) (length-bytes 0)
;; how many characters have been read ;; how many characters have been read
;; including the one just read ;; including the one just read

@ -12,7 +12,7 @@
(define-struct prod (lhs rhs index prec action) (make-inspector)) (define-struct prod (lhs rhs index prec action) (make-inspector))
;; The dot-pos field is the index of the element in the rhs ;; The dot-pos field is the index of the element in the rhs
;; of prod that the dot immediately preceeds. ;; of prod that the dot immediately precedes.
;; Thus 0 <= dot-pos <= (vector-length rhs). ;; Thus 0 <= dot-pos <= (vector-length rhs).
(define-struct item (prod dot-pos) (make-inspector)) (define-struct item (prod dot-pos) (make-inspector))

Loading…
Cancel
Save