File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ namespace Sass {
8
8
: type(type), pstate(pstate), message(message)
9
9
{ }
10
10
11
- void error (string msg, ParserState pstate) throw(Sass_Error)
11
+ void error (string msg, ParserState pstate)
12
12
{
13
13
throw Sass_Error (Sass_Error::syntax, pstate, msg);
14
14
}
15
15
16
- void error (string msg, ParserState pstate, Backtrace* bt) throw(Sass_Error)
16
+ void error (string msg, ParserState pstate, Backtrace* bt)
17
17
{
18
18
19
19
Backtrace top (bt, pstate, " " );
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ namespace Sass {
21
21
22
22
};
23
23
24
- void error (string msg, ParserState pstate) throw(Sass_Error) ;
25
- void error (string msg, ParserState pstate, Backtrace* bt) throw(Sass_Error) ;
24
+ void error (string msg, ParserState pstate);
25
+ void error (string msg, ParserState pstate, Backtrace* bt);
26
26
27
27
}
28
28
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ extern "C" {
188
188
return str == NULL ? " " : str;
189
189
}
190
190
191
- static void copy_strings (const std::vector<std::string>& strings, char *** array) throw() {
191
+ static void copy_strings (const std::vector<std::string>& strings, char *** array) {
192
192
int num = static_cast <int >(strings.size ());
193
193
char ** arr = (char **) malloc (sizeof (char *) * (num + 1 ));
194
194
if (arr == 0 ) throw (bad_alloc ());
Original file line number Diff line number Diff line change 102
102
<WarningLevel >Level3</WarningLevel >
103
103
<Optimization >Disabled</Optimization >
104
104
<PreprocessorDefinitions >WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions >
105
+ <ExceptionHandling >SyncCThrow</ExceptionHandling >
105
106
</ClCompile >
106
107
<Link >
107
108
<SubSystem >Console</SubSystem >
115
116
<WarningLevel >Level3</WarningLevel >
116
117
<Optimization >Disabled</Optimization >
117
118
<PreprocessorDefinitions >WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions >
119
+ <ExceptionHandling >SyncCThrow</ExceptionHandling >
118
120
</ClCompile >
119
121
<Link >
120
122
<SubSystem >Console</SubSystem >
130
132
<FunctionLevelLinking >true</FunctionLevelLinking >
131
133
<IntrinsicFunctions >true</IntrinsicFunctions >
132
134
<PreprocessorDefinitions >WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions >
135
+ <ExceptionHandling >SyncCThrow</ExceptionHandling >
133
136
</ClCompile >
134
137
<Link >
135
138
<SubSystem >Console</SubSystem >
147
150
<FunctionLevelLinking >true</FunctionLevelLinking >
148
151
<IntrinsicFunctions >true</IntrinsicFunctions >
149
152
<PreprocessorDefinitions >WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions >
153
+ <ExceptionHandling >SyncCThrow</ExceptionHandling >
150
154
</ClCompile >
151
155
<Link >
152
156
<SubSystem >Console</SubSystem >
You can’t perform that action at this time.
0 commit comments