code: def p_word_list(p):
      '''word_list : WORD
                   | word_list WORD'''
      parserobj = p.context
      if len(p) == 2:
          p[0] = [_expandword(parserobj, p.slice[1])]
      else:
          p[0] = p[1]
          p[0].append(_expandword(parserobj, p.slice[2])f p_word_list(p):
      '''word_list : WORD
                   | word_list WORD'''
      parserobj = p.context
      if len(p) == 2:
          p[0] = [_expandword(parserobj, p.slice[1])]
      else:
          p[0] = p[1]
          p[0].append(_expandword(parserobj, p.slice[2]))
docs: word_list : WORD
                   | word_list WORD