File tree 1 file changed +4
-5
lines changed 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -170,17 +170,16 @@ bool symbolt::is_well_formed() const
170
170
const auto split_name = split_string (id2string (name), ' $' );
171
171
172
172
// FIXME: Should loop for all delimited?
173
- if (split_name.size () > 1 && has_prefix (split_name[1 ], " link" ))
173
+ if (split_name.size () > 1 && has_prefix (split_name[1 ], " link" ))
174
174
{
175
-
176
175
size_t post_link_start = 4 ;
177
176
while (post_link_start < split_name[1 ].size () &&
178
- std::isdigit (split_name[1 ][post_link_start]))
177
+ std::isdigit (split_name[1 ][post_link_start]))
179
178
++post_link_start;
180
179
181
180
const auto stripped_name =
182
- split_name[0 ] +
183
- split_name[1 ].substr (post_link_start,split_name[1 ].size ());
181
+ split_name[0 ] +
182
+ split_name[1 ].substr (post_link_start, split_name[1 ].size ());
184
183
185
184
if (has_suffix (stripped_name, id2string (base_name)))
186
185
criterion_must_hold = false ;
You can’t perform that action at this time.
0 commit comments