1/*-------------------------------------------------------------------------
2 *
3 * c_kwlist.h
4 *
5 * The keyword lists are kept in their own source files for use by
6 * automatic tools. The exact representation of a keyword is determined
7 * by the PG_KEYWORD macro, which is not defined in this file; it can
8 * be defined by the caller for special purposes.
9 *
10 * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
11 * Portions Copyright (c) 1994, Regents of the University of California
12 *
13 * src/interfaces/ecpg/preproc/c_kwlist.h
14 *
15 *-------------------------------------------------------------------------
16 */
17
18/* There is deliberately not an #ifndef C_KWLIST_H here. */
19
20/*
21 * List of (keyword-name, keyword-token-value) pairs.
22 *
23 * Note: gen_keywordlist.pl requires the entries to appear in ASCII order.
24 */
25
26/* name, value */
27PG_KEYWORD("VARCHAR", VARCHAR)
28PG_KEYWORD("auto", S_AUTO)
29PG_KEYWORD("bool", SQL_BOOL)
30PG_KEYWORD("char", CHAR_P)
31PG_KEYWORD("const", S_CONST)
32PG_KEYWORD("enum", ENUM_P)
33PG_KEYWORD("extern", S_EXTERN)
34PG_KEYWORD("float", FLOAT_P)
35PG_KEYWORD("hour", HOUR_P)
36PG_KEYWORD("int", INT_P)
37PG_KEYWORD("long", SQL_LONG)
38PG_KEYWORD("minute", MINUTE_P)
39PG_KEYWORD("month", MONTH_P)
40PG_KEYWORD("register", S_REGISTER)
41PG_KEYWORD("second", SECOND_P)
42PG_KEYWORD("short", SQL_SHORT)
43PG_KEYWORD("signed", SQL_SIGNED)
44PG_KEYWORD("static", S_STATIC)
45PG_KEYWORD("struct", SQL_STRUCT)
46PG_KEYWORD("to", TO)
47PG_KEYWORD("typedef", S_TYPEDEF)
48PG_KEYWORD("union", UNION)
49PG_KEYWORD("unsigned", SQL_UNSIGNED)
50PG_KEYWORD("varchar", VARCHAR)
51PG_KEYWORD("volatile", S_VOLATILE)
52PG_KEYWORD("year", YEAR_P)
53