Refactored pipelines, errors

This commit is contained in:
Peter Grlica
2021-08-26 10:36:38 +02:00
parent 1bf4cbbe3e
commit 34aaad7800
28 changed files with 968 additions and 973 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ func pathSplitter(data []byte, atEOF bool) (advance int, token []byte, err error
return i + 1, data[start:i], nil
}
if data[i+1] != '.' {
if data[i+1] != '.' && data[i+1] != '[' {
return 0, nil, invalidPathErr
}