mirror of https://github.com/odrling/Aegisub
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
|
@ -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 New Issue