File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ namespace Sass {
13
13
14
14
namespace Exception {
15
15
16
+ sass::string def_msg (" Invalid sass detected" );
17
+ sass::string def_op_msg (" Undefined operation" );
18
+ sass::string def_op_null_msg (" Invalid null operation" );
19
+ sass::string def_nesting_limit (" Code too deeply neested" );
20
+
16
21
Base::Base (SourceSpan pstate, sass::string msg, Backtraces traces)
17
22
: std::runtime_error(msg.c_str()), msg(msg),
18
23
prefix (" Error" ), pstate(pstate), traces(traces)
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ namespace Sass {
21
21
22
22
namespace Exception {
23
23
24
- const sass::string def_msg = " Invalid sass detected " ;
25
- const sass::string def_op_msg = " Undefined operation " ;
26
- const sass::string def_op_null_msg = " Invalid null operation " ;
27
- const sass::string def_nesting_limit = " Code too deeply neested " ;
24
+ extern sass::string def_msg;
25
+ extern sass::string def_op_msg;
26
+ extern sass::string def_op_null_msg;
27
+ extern sass::string def_nesting_limit;
28
28
29
29
const sass::string msg_recursion_limit =
30
30
" Too deep recursion detected. This can be caused by too deep level nesting.\n "
You can’t perform that action at this time.
0 commit comments