]> granicus.if.org Git - postgresql/commit
Add check_keyword.pl script to perform some basic sanity checks to the
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 29 Apr 2009 05:05:57 +0000 (05:05 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 29 Apr 2009 05:05:57 +0000 (05:05 +0000)
commit19499bf99a962552e2e4acc2b69e25e9ba621415
tree199519fb9be83cac59492e9d80c91de7a0b5585a
parentc59d8dd44d34ea617296b4a2d6e22fefc74593ed
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]