~tristan957/monkey

4f2145fc1935b9b1c95b0406c5eefc71d2aed131 — Tristan Partin 6 months ago 843b339
Expand Span comment
1 files changed, 1 insertions(+), 1 deletions(-)

M token/span.go
M token/span.go => token/span.go +1 -1
@@ 4,7 4,7 @@ import "fmt"

// Span represents the area a token takes up. Start and End are pointers
// because we can make a slight optimization where Start and End point to the
// same underlying object.
// same underlying object in the case of 1 charater tokens.
type Span struct {
	Start *Position
	End   *Position