pgsql: Add check_keyword.pl script to perform some basic sanity checks

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add check_keyword.pl script to perform some basic sanity checks
Date: 2009-04-29 05:05:57
Message-ID: 20090429050557.8596975407C@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Added Files:
-----------
pgsql/src/tools:
check_keywords.pl (r1.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/check_keywords.pl?rev=1.1&content-type=text/x-cvsweb-markup)

Browse pgsql-committers by date

  From Date Subject
Next Message User Alexk 2009-04-29 17:33:35 deny-updates - trunk: Move old parameter checks outside of the options
Previous Message User Jbcooley 2009-04-29 03:24:38 npgsql - Npgsql2: #1010599 - update xml docs (fix typo in Clone) Thanks