Update parser.go

Co-authored-by: Austin Sasko <austintyler0239@yahoo.com>
This commit is contained in:
John Barton 2023-01-27 12:00:11 +11:00 committed by GitHub
parent a4061f306a
commit 687a37d9c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ const (
)
func parseBytes(src []byte, out map[string]string) error {
src = bytes.Replace(src, []byte("\r\n"), []byte("\n"), -1)
cutset := src
for {
cutset = getStatementStart(cutset)