Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit d8f6b7f

Browse files
committed
clean up
1 parent 364ba15 commit d8f6b7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ func createMatchedResult(pd *ParseData, n int) {
272272
Text: pd.Source.content[i:n],
273273
Value: nil,
274274
ErrPos: -1,
275-
Feedback: make([]*FeedbackItem, 0, 64),
275+
Feedback: make([]*FeedbackItem, 0, 8),
276276
}
277277
pd.Source.pos = n
278278
}

simple_parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ func ParseLineComment(
311311
return pd, ctx, nil
312312
}
313313

314-
// NewParseLineCommentPlugin creates a plugin sporting a number parser.
314+
// NewParseLineCommentPlugin creates a plugin sporting a line comment parser.
315315
func NewParseLineCommentPlugin(
316316
pluginSemantics SemanticsOp,
317317
cfgStart string,

0 commit comments

Comments
 (0)