Compatibility with latest parsekit.
This commit is contained in:
parent
3cc6fed3df
commit
0ac419fb9e
2
toml.go
2
toml.go
|
@ -18,5 +18,5 @@ var (
|
||||||
// NewParser creates a new parser, using the provided input string
|
// NewParser creates a new parser, using the provided input string
|
||||||
// as the data to parse.
|
// as the data to parse.
|
||||||
func NewParser(input string) *parsekit.Run {
|
func NewParser(input string) *parsekit.Run {
|
||||||
return parsekit.New(startKeyValuePair).Parse(input)
|
return parsekit.NewParser(startKeyValuePair).Parse(input)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue