1996-07-09 02:22:35 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
1999-02-13 18:22:53 -05:00
|
|
|
* keywords.h
|
2000-08-28 22:00:38 -04:00
|
|
|
* lexical token lookup for reserved words in postgres SQL
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*
|
2002-06-20 16:29:54 -04:00
|
|
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
2000-01-26 00:58:53 -05:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
2002-06-20 16:29:54 -04:00
|
|
|
* $Id: keywords.h,v 1.16 2002/06/20 20:29:51 momjian Exp $
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
1997-09-07 01:04:48 -04:00
|
|
|
#ifndef KEYWORDS_H
|
|
|
|
|
#define KEYWORDS_H
|
1996-07-09 02:22:35 -04:00
|
|
|
|
1997-09-07 01:04:48 -04:00
|
|
|
typedef struct ScanKeyword
|
|
|
|
|
{
|
2002-05-02 14:44:11 -04:00
|
|
|
const char *name;
|
1997-09-07 22:41:22 -04:00
|
|
|
int value;
|
1997-09-08 17:56:23 -04:00
|
|
|
} ScanKeyword;
|
1996-07-09 02:22:35 -04:00
|
|
|
|
2002-05-02 14:44:11 -04:00
|
|
|
extern const ScanKeyword *ScanKeywordLookup(const char *text);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* KEYWORDS_H */
|