important bugfix
This commit is contained in:
parent
f81c144252
commit
e6f5ff1812
@ -109,7 +109,6 @@ class EventParser(FileParser):
|
|||||||
event_full_match = self.__build_multi_line_event_string(
|
event_full_match = self.__build_multi_line_event_string(
|
||||||
first_line=event_match.group(0), moving_window=moving_window
|
first_line=event_match.group(0), moving_window=moving_window
|
||||||
)
|
)
|
||||||
# Description will be parsed separately later
|
|
||||||
description = self._search_for_descrip_string_generic(
|
description = self._search_for_descrip_string_generic(
|
||||||
moving_window=moving_window, break_pattern=r'[\s]*static const(?:expr)?[\s]*Event[\s]*'
|
moving_window=moving_window, break_pattern=r'[\s]*static const(?:expr)?[\s]*Event[\s]*'
|
||||||
)
|
)
|
||||||
|
@ -225,7 +225,6 @@ class FileParser:
|
|||||||
)
|
)
|
||||||
if not descrip_match:
|
if not descrip_match:
|
||||||
while current_idx > 0:
|
while current_idx > 0:
|
||||||
current_idx -= 1
|
|
||||||
if re.search(
|
if re.search(
|
||||||
break_pattern, moving_window[current_idx]
|
break_pattern, moving_window[current_idx]
|
||||||
):
|
):
|
||||||
@ -235,6 +234,7 @@ class FileParser:
|
|||||||
)
|
)
|
||||||
if descrip_match:
|
if descrip_match:
|
||||||
break
|
break
|
||||||
|
current_idx -= 1
|
||||||
if descrip_match:
|
if descrip_match:
|
||||||
current_build_idx = current_idx
|
current_build_idx = current_idx
|
||||||
descrip_string = ""
|
descrip_string = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user