mirror of
https://codeberg.org/Freedium-cfd/web.git
synced 2026-03-11 09:04:37 +00:00
string parser: Cython portage TypeError bug fixes
This commit is contained in:
parent
bbf92ba859
commit
4af3ea46b8
1 changed files with 2 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ class RLStringHelper:
|
|||
|
||||
@trace
|
||||
def post_utf_16_bang(self, string: StringAssignmentMixin, string_pos_matrix: list, utf_16_bang_list: list):
|
||||
# string = StringAssignmentMixin(str(string))
|
||||
string = StringAssignmentMixin(str(string))
|
||||
post_transbang = 0
|
||||
for bang_pos, char_len, old_pos in utf_16_bang_list:
|
||||
string, string_pos_matrix = self._delete_char(string, string_pos_matrix, bang_pos - post_transbang, char_len, old_pos - post_transbang)
|
||||
|
|
@ -147,7 +147,7 @@ class RLStringHelper:
|
|||
if not self.replaces and not self.quote_replaces:
|
||||
return string, string_pos_matrix, utf_16_bang_list
|
||||
|
||||
# string = StringAssignmentMixin(str(string))
|
||||
string = StringAssignmentMixin(str(string))
|
||||
replaces = self.replaces + self.quote_replaces
|
||||
|
||||
@trace
|
||||
|
|
|
|||
Loading…
Reference in a new issue