mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
Fix last merge
This commit is contained in:
parent
2818ec67df
commit
476a752a08
@ -1065,12 +1065,9 @@ namespace chaiscript
|
|||||||
if (unicode_size > 0) {
|
if (unicode_size > 0) {
|
||||||
process_unicode();
|
process_unicode();
|
||||||
}
|
}
|
||||||
}
|
} catch (const std::invalid_argument &) {
|
||||||
|
} catch (const exception::eval_error &) {
|
||||||
void finalize_unicode()
|
// Something happened with parsing, we'll catch it later?
|
||||||
{
|
|
||||||
if (unicode_size > 0) {
|
|
||||||
process_unicode();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1307,7 +1304,6 @@ namespace chaiscript
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cparser.finalize_unicode();
|
|
||||||
return cparser.is_interpolated;
|
return cparser.is_interpolated;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
@ -1366,7 +1362,6 @@ namespace chaiscript
|
|||||||
for (auto s = start + 1, end = m_position - 1; s != end; ++s) {
|
for (auto s = start + 1, end = m_position - 1; s != end; ++s) {
|
||||||
cparser.parse(*s, start.line, start.col, *m_filename);
|
cparser.parse(*s, start.line, start.col, *m_filename);
|
||||||
}
|
}
|
||||||
cparser.finalize_unicode();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (match.size() != 1) {
|
if (match.size() != 1) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user