diff --git a/components/syntax_analyzer.py b/components/syntax_analyzer.py index 747a372..551bca3 100644 --- a/components/syntax_analyzer.py +++ b/components/syntax_analyzer.py @@ -292,9 +292,11 @@ def __r8_qualifier(self): raise SyntaxError(f"{text1}\n{text2}") def __r9_body(self): - self.debug_print(" -> { }") + self.debug_print_current_token() self.__match('{') + self.debug_print(" -> { }") self.__r14a_statement_list() + self.debug_print_current_token() self.__match('}') def __r10_optional_declaration_list(self):