correct error location for mismatched | in verbatim symbols