aboutsummaryrefslogtreecommitdiff
path: root/src/include/parser/keywords.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/parser/keywords.h')
-rw-r--r--src/include/parser/keywords.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/include/parser/keywords.h b/src/include/parser/keywords.h
deleted file mode 100644
index 4ac861646d6..00000000000
--- a/src/include/parser/keywords.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*-------------------------------------------------------------------------
- *
- * keywords.h
- * lexical token lookup for key words in PostgreSQL
- *
- *
- * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
- * Portions Copyright (c) 1994, Regents of the University of California
- *
- * src/include/parser/keywords.h
- *
- *-------------------------------------------------------------------------
- */
-#ifndef KEYWORDS_H
-#define KEYWORDS_H
-
-/* Keyword categories --- should match lists in gram.y */
-#define UNRESERVED_KEYWORD 0
-#define COL_NAME_KEYWORD 1
-#define TYPE_FUNC_NAME_KEYWORD 2
-#define RESERVED_KEYWORD 3
-
-
-typedef struct ScanKeyword
-{
- const char *name; /* in lower case */
- int16 value; /* grammar's token code */
- int16 category; /* see codes above */
-} ScanKeyword;
-
-extern PGDLLIMPORT const ScanKeyword ScanKeywords[];
-extern PGDLLIMPORT const int NumScanKeywords;
-
-extern const ScanKeyword *ScanKeywordLookup(const char *text,
- const ScanKeyword *keywords,
- int num_keywords);
-
-#endif /* KEYWORDS_H */