File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ namespace Sass {
18
18
sass::string def_op_null_msg (" Invalid null operation" );
19
19
sass::string def_nesting_limit (" Code too deeply neested" );
20
20
21
+ sass::string msg_recursion_limit =
22
+ " Too deep recursion detected. This can be caused by too deep level nesting.\n "
23
+ " LibSass will abort here in order to avoid a possible stack overflow.\n " ;
24
+
21
25
Base::Base (SourceSpan pstate, sass::string msg, Backtraces traces)
22
26
: std::runtime_error(msg.c_str()), msg(msg),
23
27
prefix (" Error" ), pstate(pstate), traces(traces)
Original file line number Diff line number Diff line change @@ -26,9 +26,7 @@ namespace Sass {
26
26
extern sass::string def_op_null_msg;
27
27
extern sass::string def_nesting_limit;
28
28
29
- const sass::string msg_recursion_limit =
30
- " Too deep recursion detected. This can be caused by too deep level nesting.\n "
31
- " LibSass will abort here in order to avoid a possible stack overflow.\n " ;
29
+ extern sass::string msg_recursion_limit;
32
30
33
31
class Base : public std ::runtime_error {
34
32
protected:
You can’t perform that action at this time.
0 commit comments