Add check_keyword.pl script to perform some basic sanity checks to the

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 19499bf99a962552e2e4acc2b69e25e9ba621415
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2009-04-29T05:05:57Z
Releases: 8.4.0
Add check_keyword.pl script to perform some basic sanity checks to the
keyword lists in gram.y and kwlist.h. It checks that all lists are in
alphabetical order, and that all keywords present in gram.y are listed
in kwlist.h in the right category, and that all keywords in kwlist.h are
also in gram.y. What's still missing is to check that all keywords
defined  with "%token <keyword>" in gram.y are present in one of the
keyword lists in gram.y.

Files

PathChange+/−
src/tools/check_keywords.pl added +178 −0