00001 /*------------------------------------------------------------------------- 00002 * 00003 * keywords.c 00004 * lexical token lookup for key words in PostgreSQL 00005 * 00006 * 00007 * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group 00008 * Portions Copyright (c) 1994, Regents of the University of California 00009 * 00010 * 00011 * IDENTIFICATION 00012 * src/bin/pg_dump/keywords.c 00013 * 00014 *------------------------------------------------------------------------- 00015 */ 00016 #include "postgres_fe.h" 00017 00018 #include "parser/keywords.h" 00019 00020 /* 00021 * We don't need the token number, so leave it out to avoid requiring other 00022 * backend headers. 00023 */ 00024 #define PG_KEYWORD(a,b,c) {a,0,c}, 00025 00026 const ScanKeyword FEScanKeywords[] = { 00027 #include "parser/kwlist.h" 00028 }; 00029 00030 const int NumFEScanKeywords = lengthof(FEScanKeywords);