diff --git a/src/macro/Expressions.cc b/src/macro/Expressions.cc index a740b6f967289a30214a55f61e41e2f9745113f5..93ce47c7e3992cee873eb58a6251cde76f5f56f4 100644 --- a/src/macro/Expressions.cc +++ b/src/macro/Expressions.cc @@ -306,7 +306,7 @@ String::cast_bool() const } catch (...) { - throw StackTrace(value + " cannot be converted to a boolean"); + throw StackTrace(R"(")" + value + R"(" cannot be converted to a boolean)"); } } @@ -319,7 +319,7 @@ String::cast_int() const } catch (...) { - throw StackTrace(value + " cannot be converted to an int"); + throw StackTrace(R"(")" + value + R"(" cannot be converted to an int)"); } } @@ -332,7 +332,7 @@ String::cast_double() const } catch (...) { - throw StackTrace(value + " cannot be converted to a double"); + throw StackTrace(R"(")" + value + R"(" cannot be converted to a double)"); } }