initial commits

master
Charles Iliya Krempeaux 2023-11-24 05:21:17 -08:00
parent 3aba2c3779
commit 16a0c78958
1 changed files with 1 additions and 1 deletions

View File

@ -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)