Обсуждение: pgsql: Add check_keyword.pl script to perform some basic sanity checks

Поиск
Список
Период
Сортировка

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

От
heikki@postgresql.org (Heikki Linnakangas)
Дата:
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)