initial commits
parent
3aba2c3779
commit
16a0c78958
2
parse.go
2
parse.go
|
@ -54,7 +54,7 @@ func Parse(fn func(rune)error, runescanner io.RuneScanner) error {
|
||||||
if expected != actual {
|
if expected != actual {
|
||||||
err := runescanner.UnreadRune()
|
err := runescanner.UnreadRune()
|
||||||
if nil != err {
|
if nil != err {
|
||||||
return errProblemUnreadingCharacterNumber(nextRead, errEmptyString, r)
|
return errProblemUnreadingCharacterNumber(nextRead, err, r)
|
||||||
}
|
}
|
||||||
|
|
||||||
return erorr.Errorf("brace: expected first character of brace-string literal to be a %q (%U), but actually was %q (%U)", expected, expected, actual, actual)
|
return erorr.Errorf("brace: expected first character of brace-string literal to be a %q (%U), but actually was %q (%U)", expected, expected, actual, actual)
|
||||||
|
|
Loading…
Reference in New Issue