Add check_keyword.pl script to perform some basic sanity checks to the
authorHeikki Linnakangas <heikki@enterprisedb.com>
Wed, 29 Apr 2009 05:05:57 +0000 (05:05 +0000)
committerHeikki Linnakangas <heikki@enterprisedb.com>
Wed, 29 Apr 2009 05:05:57 +0000 (05:05 +0000)
commite8e87e7c6582e7edd0bdd42a660b3a5ea3cfdcaf
tree6de083b52e2d466697cf9e2839c95c3c443229ac
parentdbbeb3a9541c068138a5eacb823ae1f4741900a8
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.
src/tools/check_keywords.pl [new file with mode: 0755]