Fix bad string concatenation in a json parse error message
Originally committed to SVN as r6559.
This commit is contained in:
parent
759b8433c1
commit
12511901a9
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ void Reader::MatchString(std::string& string, InputStream& inputStream) {
|
|||
case 't': string.push_back('\t'); break;
|
||||
case 'u': // TODO: what do we do with this?
|
||||
default:
|
||||
throw ScanException("Unrecognized escape sequence found in string: \\" + c, inputStream.GetLocation());
|
||||
throw ScanException(std::string("Unrecognized escape sequence found in string: \\") + c, inputStream.GetLocation());
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue