Actually call empty block visitor function

This commit is contained in:
Dustin Spicuzza 2023-09-03 19:30:00 -04:00
parent a110a5508b
commit 15ec31b84f

View File

@ -505,7 +505,8 @@ class CxxParser:
def _on_empty_block_start(
self, tok: LexToken, doxygen: typing.Optional[str]
) -> None:
self._push_state(EmptyBlockState)
state = self._push_state(EmptyBlockState)
self.visitor.on_empty_block_start(state)
def _on_block_end(self, tok: LexToken, doxygen: typing.Optional[str]) -> None:
old_state = self._pop_state()