@@ -11,4 +11,10 @@ var (
|
||||
IsNotNewLine = lexer.NewIsNot(IsNewLine)
|
||||
// IsNotSpace tells if a rune is anything other than whitespace
|
||||
IsNotSpace = lexer.NewIsNot(IsSpace)
|
||||
|
||||
IsCommentStart = lexer.NewIsIn(";#")
|
||||
)
|
||||
|
||||
func IsSectionStart(r rune) bool {
|
||||
return r == '['
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user