push the keywords from grammar into wordlist