code: def p_block(self, p):
          
          p[0] = Block(list(p)[1:-1], p.lineno(3))
          self.scope.pop()
          self.scope.add_block(p[0])
docs: block_decl               : block_open declaration_list brace_close