Skip to content

Commit

Permalink
Merge branch 'CodieTamida:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
NLTN authored Mar 30, 2024
2 parents 16e254d + e6e53e9 commit 1175b35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/syntax_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,11 @@ def __r8_qualifier(self):
raise SyntaxError(f"{text1}\n{text2}")

def __r9_body(self):
self.debug_print("<Body> -> { <Statement List> }")
self.debug_print_current_token()
self.__match('{')
self.debug_print("<Body> -> { <Statement List> }")
self.__r14a_statement_list()
self.debug_print_current_token()
self.__match('}')

def __r10_optional_declaration_list(self):
Expand Down

0 comments on commit 1175b35

Please sign in to comment.