Do not use \b, \v and \f escapes in string literals in generated Yul code

This commit is contained in:
Kamil Śliwak
2021-06-28 14:13:47 +02:00
parent a3c965b7de
commit 19fada966f
6 changed files with 25 additions and 11 deletions
+1 -1
View File
@@ -554,7 +554,7 @@ std::string formatAsStringOrNumber(std::string const& _value);
/// @returns a string with the usual backslash-escapes for non-ASCII
/// characters and surrounded by '"'-characters.
std::string escapeAndQuoteString(std::string const& _input);
std::string escapeAndQuoteYulString(std::string const& _input);
template<typename Container, typename Compare>
bool containerEqual(Container const& _lhs, Container const& _rhs, Compare&& _compare)