@@ -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
}
@@ -463,7 +463,7 @@ class source
463
463
auto in_comment = false ;
464
464
auto in_string_literal = false ;
465
465
auto in_raw_string_literal = false ;
466
- std::string d_char_sequence ;
466
+ std::string raw_string_closing_seq ;
467
467
468
468
auto brace_depth = std::vector<int >();
469
469
@@ -538,7 +538,7 @@ class source
538
538
in_comment,
539
539
in_string_literal,
540
540
in_raw_string_literal,
541
- d_char_sequence ,
541
+ raw_string_closing_seq ,
542
542
brace_depth,
543
543
std::ssize (lines) - 1 ,
544
544
errors
0 commit comments