Skip to content

Commit 5a38f39

Browse files
committed
Add missing godoc comment for LexerFlag
1 parent 565ec6a commit 5a38f39

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lexer.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ const (
206206
rRegexpClose = '/'
207207
)
208208

209+
// LexerFlag is a bitset representing a combination of zero or more Lex flags, such as LexNoRegexps,
210+
// LexWordLiterals, and others. These Lex flags affect the Lexer's output, allowing one to disable
211+
// specific tokenization behavior.
209212
type LexerFlag uint64
210213

211214
const (

0 commit comments

Comments
 (0)