important bugfix

This commit is contained in:
Robin Müller 2021-06-21 16:09:47 +02:00
parent f81c144252
commit e6f5ff1812
No known key found for this signature in database
GPG Key ID: FC76078F520434A5
2 changed files with 1 additions and 2 deletions

View File

@ -109,7 +109,6 @@ class EventParser(FileParser):
event_full_match = self.__build_multi_line_event_string(
first_line=event_match.group(0), moving_window=moving_window
)
# Description will be parsed separately later
description = self._search_for_descrip_string_generic(
moving_window=moving_window, break_pattern=r'[\s]*static const(?:expr)?[\s]*Event[\s]*'
)

View File

@ -225,7 +225,6 @@ class FileParser:
)
if not descrip_match:
while current_idx > 0:
current_idx -= 1
if re.search(
break_pattern, moving_window[current_idx]
):
@ -235,6 +234,7 @@ class FileParser:
)
if descrip_match:
break
current_idx -= 1
if descrip_match:
current_build_idx = current_idx
descrip_string = ""