@@ -203,7 +203,7 @@ auto process_cpp_line(
203
203
bool & in_comment,
204
204
bool & in_string_literal,
205
205
bool & in_raw_string_literal,
206
- std::string& d_char_sequence ,
206
+ std::string& raw_string_closing_seq ,
207
207
std::vector<int >& brace_depth,
208
208
lineno_t lineno,
209
209
std::vector<error>& errors
@@ -243,12 +243,12 @@ auto process_cpp_line(
243
243
}
244
244
}
245
245
else if (in_raw_string_literal) {
246
- auto end_pos = line.find (d_char_sequence , i);
246
+ auto end_pos = line.find (raw_string_closing_seq , i);
247
247
if (end_pos == std::string::npos) {
248
248
return r;
249
249
}
250
250
in_raw_string_literal = false ;
251
- i = end_pos+d_char_sequence .size ()-1 ;
251
+ i = end_pos+raw_string_closing_seq .size ()-1 ;
252
252
}
253
253
else {
254
254
r.all_comment_line = false ;
@@ -259,7 +259,7 @@ auto process_cpp_line(
259
259
i+=2 ;
260
260
if (i < ssize (line) - 1 ) {
261
261
if (auto paren_pos = line.find (" (" , i); paren_pos != std::string::npos) {
262
- d_char_sequence = " )" +line.substr (i, paren_pos-i)+" \" " ;
262
+ raw_string_closing_seq = " )" +line.substr (i, paren_pos-i)+" \" " ;
263
263
in_raw_string_literal = true ;
264
264
}
265
265
}
@@ -461,7 +461,7 @@ class source
461
461
auto in_comment = false ;
462
462
auto in_string_literal = false ;
463
463
auto in_raw_string_literal = false ;
464
- std::string d_char_sequence ;
464
+ std::string raw_string_closing_seq ;
465
465
466
466
auto brace_depth = std::vector<int >();
467
467
@@ -532,7 +532,7 @@ class source
532
532
in_comment,
533
533
in_string_literal,
534
534
in_raw_string_literal,
535
- d_char_sequence ,
535
+ raw_string_closing_seq ,
536
536
brace_depth,
537
537
std::ssize (lines) - 1 ,
538
538
errors
0 commit comments