code: def p_state_cons_list(self, p):
          '''state_cons_list : state_cons_list state_cons_def
                             | state_cons_def'''
          if len(p) == 3:
              p[1].append(p[2])
              p[0] = p[1]
          elif len(p) == 2:
              p[0] = [p[1]f p_state_cons_list(self, p):
          '''state_cons_list : state_cons_list state_cons_def
                             | state_cons_def'''
          if len(p) == 3:
              p[1].append(p[2])
              p[0] = p[1]
          elif len(p) == 2:
              p[0] = [p[1]]
docs: state_cons_list : state_cons_list state_cons_def
                             | state_cons_def