We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3cf31ef + 55fa15b commit fb82f0bCopy full SHA for fb82f0b
eval.cpp
@@ -1,6 +1,7 @@
1
#include <cstdlib>
2
#include <cmath>
3
#include <iostream>
4
+#include <sstream>
5
#include <iomanip>
6
#include <typeinfo>
7
@@ -528,7 +529,9 @@ namespace Sass {
528
529
Expression* Eval::operator()(Function_Call* c)
530
{
531
if (backtrace->parent != NULL && backtrace->depth() > Constants::MaxCallStack) {
- error("Stack depth exceeded max of " + to_string(Constants::MaxCallStack), c->pstate(), backtrace);
532
+ ostringstream stm;
533
+ stm << "Stack depth exceeded max of " << Constants::MaxCallStack;
534
+ error(stm.str(), c->pstate(), backtrace);
535
}
536
string name(Util::normalize_underscores(c->name()));
537
string full_name(name + "[f]");
0 commit comments