Skip to content

Commit

Permalink
Document the latest state on the MkLine performance tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
rillig committed Feb 8, 2025
1 parent cb3f90a commit 89779bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions v23/mkline.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
// MkLine is a line from a makefile fragment.
// There are several types of lines.
// The most common types in pkgsrc are variable assignments,
// shell commands and directives like .if and .for.
// shell commands, and directives like .if and .for.
// The line types can be distinguished by IsVarassign,
// IsDirective and so on.
type MkLine struct {
Expand All @@ -22,7 +22,8 @@ type MkLine struct {
// One of the following mkLine* types.
//
// For the larger of these types, a pointer is used instead of a direct
// struct because of https://github.com/golang/go/issues/28045.
// struct because of https://github.com/golang/go/issues/28045;
// last checked against go1.23.1 in January 2025.
data interface{}
}

Expand Down

0 comments on commit 89779bd

Please sign in to comment.